On 28 October 2013 12:02, Vicente J. Botet Escriba wrote:
Le 28/10/13 12:58, Vicente J. Botet Escriba a écrit :
Le 27/10/13 19:02, John Maddock a écrit :
I'm checking for BOOST_NO_CXX11_HDR_MEMORY to include <memory> file with gcc-4.6.2 C++0x and while the file is there (it was a C++98 file),it is not defining in particular pointer_traits and allocator_traits
Could the following patch be applied?
Nope: there is no such config macro as BOOST_NO_CXX11_HDR_MEMORY so it is never defined.
Hrr, you are right. To be uniform, is there an interest in adding it?
Try BOOST_NO_CXX11_ALLOCATOR for your use case.
default_delete is missing also. Is there an interest in BOOST_NO_CXX11_DEFAULT_DELETE?
Maybe I've misunderstood, but std::default_delete is not missing from GCC 4.6.2's <memory> header.