Boost logo

Boost :

Subject: Re: [boost] [config] Macro for null pointer
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2012-12-05 06:32:05


On Wed, Dec 5, 2012 at 5:22 AM, Andrey Semashev
<andrey.semashev_at_[hidden]> wrote:
> On Wed, Dec 5, 2012 at 11:13 AM, Eric Niebler <eric_at_[hidden]> wrote:

[snip]

>> ... and Microsoft's min/max macros cause no problems because they can be
>> disabled with NOMINMAX. :-P
>
> I don't see how this is related. We're not making nullptr a macro, it
> still obeys scoping rules.

If it is global, then it is all scopes. And it can't even be qualified, because
nullptr is never used qualified in user code.

[]'s

-- 
Felipe Magno de Almeida

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