
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.