Boost logo

Boost :

Subject: Re: [boost] What to do with platform defining 'null' as preprocessor symbol?
From: Jookia (166291_at_[hidden])
Date: 2012-08-24 05:42:18


On 24/08/12 19:38, Bjorn Reese wrote:
> On 2012-08-24 11:27, Jookia wrote:
>
>> Ah, yeah. But I was kind of thinking that instead of writing 'nil',
>> you'd write 'fusion::nil'. Maybe I'm missing something important.
>
> Assuming that you have this macro:
>
> #define nil 0
>
> Then 'fusion::nil' will be changed by the preprocessor to 'fusion::0'.

Really? Wow. I thought it was only for 'words' rather than tokens. My bad.

The only other idea that I'd have would to have an alternate name for
'nil'. Which has probably been discussed, making this entire post
redundant. Sorry.


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