Boost logo

Boost :

Subject: Re: [boost] [assert] Assert library? - Was: [regression] Where's boost/assert.hpp ??
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2014-02-24 04:17:40


On 24/02/14 01:41, Peter Dimov wrote:
> Mathias Gaunard wrote:
>> Unfortunately, none of those answers are true: defining NDEBUG does
>> not disable BOOST_ASSERT (but it does disable BOOST_ASSERT_MSG -- nice
>> inconsistency) if BOOST_ENABLE_ASSERT_HANDLER is set.
>
> https://svn.boost.org/trac/boost/ticket/7028#comment:19

That doesn't change the fact that:
- NDEBUG and BOOST_DISABLE_ASSERTS are inconsistent
- BOOST_ASSERT and BOOST_ASSERT_MSG are inconsistent


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