
29 Oct
2007
29 Oct
'07
4:35 p.m.
AMDG Roland Schwarz <roland.schwarz <at> chello.at> writes:
This wouldn't account for:
unsigned int res = SomeFuncWithSideEffects();
BOOST_ASSERT(res != EDOM);
or the like...
Roland aka speedsnail
template<class T> void use_variable(const T&) {} #if ENABLE_ASSERT #define BOOST_ASSERT(x) normal implementation #else #define BOOST_ASSERT(x) use_variable(x) #endif In Christ, Steven Watanabe