Boost logo

Boost :

Subject: Re: [boost] [config] Macro for null pointer
From: Eric Niebler (eric_at_[hidden])
Date: 2012-12-04 18:04:54


On 12/4/2012 2:46 PM, Edward Diener wrote:
> But in that case the end-user will have to choose which nullptr
> emulation to use. If he chooses the other library's emulation he does
> not include the Boost header file for nullptr emulation, and vice-versa.

We've learned the hard way that that doesn't work in practice. User
wants to use libraries X and Y. X uses Boost.Nullptr and doesn't
compiler without it. Y defines its own nullptr. Boom.

Please don't ignore the lessons of the past.

-- 
Eric Niebler
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