Boost logo

Boost :

Subject: Re: [boost] [assert] static_assert envy
From: Robert Kawulak (robert.kawulak_at_[hidden])
Date: 2011-01-18 08:11:02

> From: Thorsten Ottosen
> I'm fine with BOOST_ASSERT_MSG(). Since we are adding assert.hpp I would
> like to see
> as well. It is really much clearer to read and maintain than
> BOOST_ASSERT( !foo() || condition );

And possibly BOOST_FAIL/BOOST_FAIL_MSG, equivalent to BOOST_ASSERT(false)/BOOST_ASSERT(false, msg)? Analogous method is found in
.NET library and I happened to find it useful several times.


Boost list run by bdawes at, gregod at, cpdaniel at, john at