|
Boost : |
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2022-05-22 02:41:37
On Sat, May 21, 2022 at 8:59 PM Peter Dimov wrote:
> Compilers apparently are warning on the use of 0 as a null pointer
> constant, suggesting we use nullptr instead. But compilers don't know
> that we support C++03 where nullptr isn't a thing.
>
> ifdef-ing every use of nullptr is unwieldy, so maybe we need
> BOOST_NULLPTR added to Boost.Config? That would expand to
> nullptr when it's supported, and 0 otherwise.
Sounds good to me.
Glen
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk