
11 Feb
2014
11 Feb
'14
9:01 a.m.
The latter is preferable; e.g. BOOST_NO_CXX11_ALIGN (or a more appropriate identifier) indicating the absence of std::align. It just felt a little wrong to desire a macro for just one function though.
The above three macros, plus the additional BOOST_NO_CXX11_STD_ALIGN, would cover the whole C++11 <memory> except for the reachability functions (which nobody needs)... and std::addressof, which is pretty useful. Perhaps we need to add BOOST_NO_CXX11_ADDRESSOF while we're at it.
Would somebody like to produce a patch? John.