Boost logo

Boost :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2007-10-29 12:27:07


Martin Bonner wrote:
> MFC had (has) a VERIFY macro for this. If we introduced a BOOST_VERIFY,
> the usage would look like:
> void foo(void)
> {
> BOOST_VERIFY( SomeFuncWithSideEffects() );
> }
>

This wouldn't account for:

unsigned int res = SomeFuncWithSideEffects();

BOOST_ASSERT(res != EDOM);

or the like...

Roland aka speedsnail


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