Boost logo

Boost :

Subject: Re: [boost] [assert] static_assert envy
From: Robert Kawulak (robert.kawulak_at_[hidden])
Date: 2011-01-17 10:24:08


> From: Beman Dawes
> BOOST_EXTENDED_ASSERT(true, "This will not assert");
> BOOST_EXTENDED_ASSERT(false, "This will assert");

+1, although I hate the name - it's too long. The use of asserts should be encouraged by making them fast to type and cluttering the
code as little as possible. Right now I can't think of any obviously good name, but maybe BOOST_ASSERTM (assert with message)?

Best regards,
RK


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