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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost