|
Boost : |
Subject: Re: [boost] Ticket #2115 Avoid bad Apple macros
From: David Abrahams (dave_at_[hidden])
Date: 2008-10-13 21:57:58
On Mon, 13 Oct 2008 09:40:33 +0100, "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.
-- David Abrahams Boostpro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk