Subject: Re: [Boost-users] [Test] How to treat memory leaks as errors?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-09-26 19:24:10


Василий Старостин 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.

Gennadiy