Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2003-03-09 21:15:02

"Jaap Suter" <J.Suter_at_[hidden]> wrote in message
> [...]
> The proposal doesn't say anything about a compile time release and
> debug mode. I guess one could always define the 'static_assert'
> keyword to be nothing, but perhaps compiler support for disabling
> and enabling static assertions is more useful.
> [...]

I think that #define-ing keywords results in undefined behaviour. It
would be better to call static_assert through a macro if you want to
turn it on and off.


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