Subject: [boost] Another set of macros to deprecate (and then remove)?
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2012-12-13 10:53:06
There are a set of macros in Boost.config that describe "features that are not required by the C++ standard"
Some of these features have been incorporated into C++11.
I propose that we retire these macros, and have people use the shiny C++11 versions.
BOOST_HAS_STATIC_ASSERT should be ! BOOST_NO_CXX11_ASSERT
BOOST_HAS_VARIADIC_TMPL should be ! BOOST_NO_CXX11_VARIADIC_TEMPLATES
BOOST_HAS_RVALUE_REFS should be ! BOOST_NO_CXX11_RVALUE_REFERENCES
BOOST_HAS_CHAR_16_T should be ! BOOST_NO_CXX11_CHAR_16_T
BOOST_HAS_CHAR_32_T should be ! BOOST_NO_CXX11_CHAR_32_T
I'm using "!" here generically; in code you would replace
I don't think this will be very disruptive; very few boost libraries use these macros.
Opinions? Other macros that fit into this group?
Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>
A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
-- Yu Suzuki