Boost logo

Boost :

From: John Maddock (john_maddock_at_[hidden])
Date: 2003-06-15 06:55:15


> I find BOOST_STATIC_ASSERT(...) extremely useful.
>
> I would also find BOOST_STATIC_WARNING(...) extremely useful.
>
> I've looked in boost and now found such a thing. Am I missing
> something? Is there something equivalent? Can such a thing
> be added?
>
> I envision an implementation of BOOST_STATIC_WARNING that
> would display a compile time warning message but permit
> compilition to successfully complete. Its usage would be
> to notify library users of legal but suspect library usage.

I agree on it's usefulness, but there's no real way to implement it IMO,

John Maddock


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