Gennaro Prota wrote:

> Just that Borland won't warn on BOOST_INVARIANT(false). Admittedly
> not a big one :-)

This warning can be configured away simply by purposely accessing a non-constant
variable or calling an inline function:

inline bool force_non_constant() { return true; }

if (force_non_constant(), expr) else ...

Regards,
Paul Mensonides

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to