Boost logo

Boost :

From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2003-05-05 22:12:13


Daniel Frey wrote:
> Paul Mensonides wrote:
>
>> #define BOOST_INVARIANT(expr) \
>> if (!(expr)) \
>
> One possible enhancment:
>
> if( expr ); else
>
> It prevents problems when the macro is used in other
> if-else-structures.

Thanks Daniel, I forgot about that...

Regards,
Paul Mensonides


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