Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-01-17 11:50:50


Jens Seidel <jensseidel <at> users.sf.net> writes:
> > But it does not work with Boost 1.33.1 in contrast to 1.34.1 as
> > master_test_suite() returns a const reference.

Using "auto" macros you can build version what works with both versions.
 
> Oops, I forgot to mention that it even in 1.34.1 crashs if I provide 0
> as init function pointer. This forced me during my tests to also define
> a dummy function just to make unit_test_main() happy.
>
> I suggest to overload a new function which doesn't take a init function
> at all but 0 should also be a valid pointer.

Ok. I'll consider this.
 
Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk