BOOST_ASSERT with message output?
21 Jan
2008
21 Jan
'08
9:04 a.m.
Hi, does boost provide a macro like BOOST_ASSERT which allows to print out a message if the assertion is raised? best regards, Oliver
21 Jan
21 Jan
3:21 p.m.
Kowalke Oliver (QD IT PA AS) wrote:
Hi, does boost provide a macro like BOOST_ASSERT which allows to print out a message if the assertion is raised? best regards, Oliver
How about: BOOST_ASSERT(condition && "error!"); BOOST_ASSERT(!"impossible!"); Regards, -- Shunsuke Sogame
6143
Age (days ago)
6143
Last active (days ago)
1 comments
2 participants
participants (2)
-
Kowalke Oliver (QD IT PA AS)
-
shunsuke