Boost logo

Boost :

Subject: Re: [boost] [fusion] patch for #5010
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-12-20 19:49:37


On 12/21/2011 01:03 AM, Joel de Guzman wrote:

> I was hesitant to have this fix because "nil" is actually part of the
> API. But, given how pervasive this problem is, it seems the best way
> to go is to accept the fix and break backward compatibility :(
> We might have to issue a warning in the docs.
>
> I'll apply the patches (change nil to nil_). Thomas, I'm CC'ing you
> for the heads up.

You could add a typedef of nil_ to nil if you detect that you're not in
Objective-C++ mode (i.e. check for __OBJC__ or similar)


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