Boost logo

Boost :

Subject: Re: [boost] [config] BOOST_NO_CXX11_HDR_MEMORY and gcc-4.6.2
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2013-10-28 12:09:26


On 28 October 2013 12:02, Vicente J. Botet Escriba wrote:
> Le 28/10/13 12:58, Vicente J. Botet Escriba a écrit :
>
>> Le 27/10/13 19:02, John Maddock a écrit :
>>>>
>>>> I'm checking for BOOST_NO_CXX11_HDR_MEMORY to include <memory> file with
>>>> gcc-4.6.2 C++0x and while the file is there (it was a C++98 file),it is not
>>>> defining in particular pointer_traits and allocator_traits
>>>>
>>>> Could the following patch be applied?
>>>
>>>
>>> Nope: there is no such config macro as BOOST_NO_CXX11_HDR_MEMORY so it is
>>> never defined.
>>
>> Hrr, you are right. To be uniform, is there an interest in adding it?
>>>
>>>
>>> Try BOOST_NO_CXX11_ALLOCATOR for your use case.
>>>
>>
> default_delete is missing also. Is there an interest in
> BOOST_NO_CXX11_DEFAULT_DELETE?

Maybe I've misunderstood, but std::default_delete is not missing from
GCC 4.6.2's <memory> header.


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