Subject: Re: [boost] [config] BOOST_NO_CXX11_HDR_MEMORY and gcc-4.6.2
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2013-10-27 08:17:03
On 27 October 2013 10:46, Vicente J. Botet Escriba wrote:
> 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
Right, they were added for 4.7.0
> Could the following patch be applied?
> 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.
You might as well also fix the spelling of "steady_clock" and "truly"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk