
23 Apr
2012
23 Apr
'12
12:47 a.m.
[John Maddock]
BOOST_NO_CXX11_ALLOCATOR The standard library does not provide a C++11 version of `std::allocator` in <memory>.
[Daniel James]
Can this be used to check for std::allocator_traits?
[John Maddock]
That's the intention yes. Currently though that macro is set for all compilers/std libraries, does anyone support that yet?
[Daniel James]
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".
VC11 also implements pointer_traits/allocator_traits/scoped_allocator_adaptor. Stephan T. Lavavej Visual C++ Libraries Developer