
27 Sep
2009
27 Sep
'09
2:43 a.m.
On Sat, Sep 26, 2009 at 5:24 PM, Gennadiy Rozental
Василий Старостин wrote:
So I expected that Boost.Test can use this function return code and increase errors counter for leaks. If it cannot, this can be improvement for the future.
The problem is that this function is not invoked till after testing framework is done. in fact I do not invoke it at all. It is invoked by the CRT once program execution is completed.
Running this function earlier most probably will produce huge number of false positives.
For note, the google memory tracker allows you to even partition segments of your program off, letting you test for memory leaks just from those sections and so forth, it is very powerful, as well as multi-platform.