"Jaap Suter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [...] > 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. Dave _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost