Define CORE_NO_CONSTEXPR_ADDRESSOF if NO_CXX11_CONSTEXPR is defined

The test case could check for BOOST_NO_CXX11_CONSTEXPR but it makes sense for BOOST_CORE_NO_CONSTEXPR_ADDRESSOF to be defined in this case also.
This commit is contained in:
Glen Fernandes
2017-02-01 11:02:01 -05:00
committed by GitHub
parent 686dbcb8eb
commit 4016f8e7cc

View File

@ -27,6 +27,10 @@ http://www.boost.org/LICENSE_1_0.txt)
#endif
#if defined(BOOST_CORE_HAS_BUILTIN_ADDRESSOF)
#if defined(BOOST_NO_CXX11_CONSTEXPR)
#define BOOST_CORE_NO_CONSTEXPR_ADDRESSOF
#endif
namespace boost {
template<class T>