Boost logo

Boost :

From: Jaap Suter (J.Suter_at_[hidden])
Date: 2003-03-09 15:52:38


I guess you meant it to be the other way around:

> #ifdef STATIC_NDEBUG
> # define BOOST_STATIC_ASSERT2(e) (void(e))
> #else
> # define BOOST_STATIC_ASSERT2(e) BOOST_STATIC_ASSERT(e)
> #endif

I like the solution, but I'm wondering whether mabye this could be included
in the static_assert header directly.

Opinions?

Regards,

Jaap Suter


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