Subject: Re: [boost] [utility] [assert] Proposal for a new assert macro which stores the failed values ("informative assert")
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-06-07 14:26:56
On 06/06/2013 05:38 PM, Viktor Sehr wrote:
> I might get something wrong, but why not simply #define BOOST_ASSERT_MSG(
> expr, msg ) assert( expr)?
> The point of the msg-part, to me, is to serialize variables?
No. msg is expected to be a string literal.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk