Subject: Re: [boost] [config] 4 new C++11 macros added
From: Daniel James (dnljms_at_[hidden])
Date: 2012-04-22 08:31:55
On 22 April 2012 13:23, John Maddock <boost.regex_at_[hidden]> wrote:
>> A long time back I was asked for a bunch of new config macros which have
>> finally now been added:
>> BOOST_NO_CXX11_ALLOCATOR The standard library does not provide a C++11
>> version of `std::allocator` in <memory>.
>> Can this be used to check for std::allocator_traits?
> That's the intention yes. Currently though that macro is set for all
> compilers/std libraries, does anyone support that yet?
I think GCC 4.7 does. http://gcc.gnu.org/gcc-4.7/changes.html says
that is includes "implementations of pointer_traits, allocator_traits