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 09:33:33


Klaim - Joël Lamotte wrote:
> [1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3877.pdf

Assertion macros taking a level (BOOST_ASSERTL, BOOST_ASSERTL_MSG)
controlled by, f.ex. BOOST_ASSERT_LEVEL (0 - opt, 1 - debug, 2 - safe) would
be a relatively straightforward addition. The rest is not really in the
spirit of the current Boost.Assert. It could be added though.

I'm not entirely sure about the purpose of the test macros.


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