Boost logo

Boost :

Subject: Re: [boost] [config] Macro for null pointer
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2012-11-28 10:34:19


On Nov 27, 2012, at 11:05 PM, Andrey Semashev <andrey.semashev_at_[hidden]> wrote:

> On Wed, Nov 28, 2012 at 3:35 AM, Jeffrey Lee Hellrung, Jr.
> <jeffrey.hellrung_at_[hidden]> wrote:
>>
>> First go at it:
>>
>> /*** BEGIN NULLPTR DEFINITION ***/
>>
>> #include <boost/config.hpp>
>>
>> #ifndef BOOST_NO_NULLPTR
>
> I believe, the actual macros for C++11 features start with
> BOOST_NO_CXX11_ (e.g. BOOST_NO_CXX11_NULLPTR). The ones without CXX11
> are deprecated.

That is correct.

See http://www.boost.org/doc/libs/1_52_0/libs/config/doc/html/boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.boost_deprecated_macros for a complete list of deprecated macros and their replacements.

-- Marshall


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