Boost logo

Boost :

Subject: [boost] [config] BOOST_NO_CXX11_HDR_MEMORY and gcc-4.6.2
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-10-27 06:46:31


Hi,

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?

Best,
Vicente

svn diff stdlib/libstdcpp3.hpp
Index: stdlib/libstdcpp3.hpp
===================================================================
--- stdlib/libstdcpp3.hpp (revision 86431)
+++ stdlib/libstdcpp3.hpp (working copy)
@@ -154,9 +154,11 @@
  // Note that although <chrono> existed prior to 4.7, "stead_clock" is
spelled "monotonic_clock"
  // so 4.7.0 is the first truely conforming one.
  # define BOOST_NO_CXX11_HDR_CHRONO
+// C++11 header not yet (fully!) implemented, e.g. pointer_traits and
allocator_traits.
+# define BOOST_NO_CXX11_HDR_MEMORY
  # define BOOST_NO_CXX11_ALLOCATOR
  #endif
-// C++0x headers not yet (fully!) implemented
+// C++11 headers not yet (fully!) implemented
  //
  # define BOOST_NO_CXX11_HDR_THREAD
  # define BOOST_NO_CXX11_HDR_TYPE_TRAITS


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