Boost logo

Boost :

Subject: Re: [boost] [assert] Assert library? - Was: [regression] Where's boost/assert.hpp ??
From: Peter Dimov (lists_at_[hidden])
Date: 2014-02-24 06:59:17


Mathias Gaunard wrote:
> That doesn't change the fact that:
> - NDEBUG and BOOST_DISABLE_ASSERTS are inconsistent

If by "inconsistent" you mean that they don't do the same thing, then yes.
If they did, there would have been no need to have BOOST_DISABLE_ASSERTS.

BOOST_DISABLE_ASSERTS disables BOOST_ASSERT(_MSG). I don't know how it can
be made more consistent than that.

> - BOOST_ASSERT and BOOST_ASSERT_MSG are inconsistent

No.


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