|
Boost : |
Subject: Re: [boost] [assert] static_assert envy
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2011-01-18 07:55:42
On Tue, Jan 18, 2011 at 7:58 PM, Thorsten Ottosen <nesotto_at_[hidden]> wrote:
>
> I'm fine with BOOST_ASSERT_MSG().
+1 for 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 );
>
+1
-- Dean Michael Berris about.me/deanberris
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk