
22 Apr
2012
22 Apr
'12
12:31 p.m.
On 22 April 2012 13:23, John Maddock <boost.regex@virgin.net> 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 and scoped_allocator_adaptor".