|
Boost : |
Subject: Re: [boost] [config] BOOST_NO_CXX11_HDR_MEMORY and gcc-4.6.2
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2013-10-28 21:17:03
[Jonathan Wakely]
> Yes, but you could combine it with checking the value of __cplusplus:
> #if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__)
VC unconditionally supports an increasing amount of C++11 stuff, but still defines __cplusplus to 199711.
STL
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk