Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-08-28 14:07:59


on Tue Aug 28 2007, "John Maddock" <john-AT-johnmaddock.co.uk> wrote:

> Can anyone remember why BOOST_WORKAROUND didn't use the defined()
> operator internally, and/or what problems this may cause?

'defined' only has special meaning in #if and #elif expressions and
can't appear as the result of a macro expansion.

http://gcc.gnu.org/onlinedocs/cpp/Defined.html

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

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