Boost logo

Boost :

Subject: Re: [boost] [config] 4 new C++11 macros added
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-04-22 11:18:51


>> 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
>and scoped_allocator_adaptor".

I hadn't realised it had been released yet.... release notes look like
they've added quite a lot of C++11 stuff, I'll have to see what defect
macros we can undef for it ;-)

I don't suppose there's any news on gcc making c++11 mode the default? It
would surely speed the adoption of C++11 code?

John.


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