Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-12-05 17:59:06


On Thursday 05 December 2002 02:41 pm, David Abrahams wrote:
> I propose:
>
> #ifndef BOOST_STRICT_CONFIG
> # define BOOST_WORKAROUND(symbol, test) (defined(symbol) && symbol
> test) #else
> # define BOOST_WORKAROUND(symbol, test) 0
> #endif
>
> Comments?

I'm still not sure that BOOST_STRICT_CONFIG is the right macro to determine if
workarounds are enabled or not, but if John agrees then I'm happy with it.
Regardless of what macro determines which BOOST_WORKAROUND is used, I like
the above definition (+ dumb compiler workarounds).

        Doug


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