Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-05-27 11:44:17


----- Original Message -----
From: <deansturtevant_at_[hidden]>

> Am I being overly pedantic when I say that the argument to an assert
> should be explicitly a boolean expression? i.e. - does
> BOOST_STATIC_ASSERT( sizeof(T) != 0 );
> have any problems?

I think Dean's right from a stylistic point-of-view. Still, as a QOI issue
we ought to support BOOST_STATIC_ASSERT(sizeof(T)).

-Dave


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