BOOST_WORKAROUND and defined operator?

28 Aug
2007
28 Aug
'07
8:59 a.m.
Can anyone remember why BOOST_WORKAROUND didn't use the defined() operator internally, and/or what problems this may cause? Cheers, John.

28 Aug
28 Aug
6:07 p.m.
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
6496
Age (days ago)
6496
Last active (days ago)
1 comments
2 participants
participants (2)
-
David Abrahams
-
John Maddock