Boost logo

Boost :

Subject: Re: [boost] Ticket #2115 Avoid bad Apple macros
From: Eric Niebler (eric_at_[hidden])
Date: 2008-10-13 23:51:17

David Abrahams wrote:
> "John Maddock" <john_at_[hidden]> wrote:
>> Are the Apple defined macros function-like macros? If so we could use
>> the usual macro-expansion suppression in these cases as we do with min/max.
> Yeah, just as long as we keep in mind that the parens suppress ADL. In
> other words
> check(x)
> and
> (check)(x)
> are not equivalent.

I think John is referring to the BOOST_PREVENT_MACRO_SUBSTITUTION macro:


Eric Niebler
BoostPro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at