Boost logo

Boost :

Subject: Re: [boost] [assert] static_assert envy
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-01-18 08:09:52


On Tue, Jan 18, 2011 at 6:58 AM, Thorsten Ottosen <nesotto_at_[hidden]> wrote:

> ...

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

I like it!

I'm working on a Boost quality implementation now. Stay tuned.

Thanks,

--Beman


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