Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-07-06 12:30:23


On Thu, 6 Jul 2006 18:11:40 +0300, "Peter Dimov" <pdimov_at_[hidden]>
wrote:

>A check will hurt everyone who does a global assert -> BOOST_ASSERT replace
>and the code refuses to compile without a good reason.

 :-/

>>> [...]
>>
>> Yeah, there's nothing undefined about BOOST_ASSERT. It's about
>> *assert*: invoking it with a parameter which doesn't end up in an
>> integral expression produces undefined behavior (when NDEBUG is not
>> defined).
>
>You actually made me check. :-) This is not true for C99

I thought I new :-(

 <http://lists.boost.org/Archives/boost/2006/06/106721.php>
 <http://lists.boost.org/Archives/boost/2006/07/107371.php>

>[...]
>
>I don't have C90, so I take your word for it.

Thanks.

--
[ Gennaro Prota, C++ developer for hire ]
[    resume:  available on request      ]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk