From: shunsuke (pstade.mb_at_[hidden])
Date: 2008-01-21 10:21:41


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