Boost logo

Boost :

Subject: Re: [boost] Ticket #2115 Avoid bad Apple macros
From: John Maddock (john_at_[hidden])
Date: 2008-10-14 11:45:19


Steven Watanabe wrote:
>>> Heh, I forgot about that one. Suppose we just
>>>
>>> #define check BOOST_PREVENT_MACRO_SUBSTITUION check
>>>
>>> ? ;-)
>>
>> Won't that cause macro redefinition errors? Also, how is it
>> different from
>>
>> #define check check

In fact it's not really any different from:

#undef check

is it?

John.


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