15 Dec
2006
15 Dec
'06
4:19 p.m.
Maarten Nieber
I use the trick
assert( 2 + 2 == 4 || "Adding numbers failed!" )
This will probably work for BOOST_ASSERT as well.
Are you sure about that || ? Looks to me like it would never fire. -- Dave Abrahams Boost Consulting www.boost-consulting.com