
29 Oct
2007
29 Oct
'07
4:27 p.m.
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