mirror of
https://github.com/boostorg/core.git
synced 2025-07-31 05:17:22 +02:00
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:
@ -27,6 +27,10 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BOOST_CORE_HAS_BUILTIN_ADDRESSOF)
|
#if defined(BOOST_CORE_HAS_BUILTIN_ADDRESSOF)
|
||||||
|
#if defined(BOOST_NO_CXX11_CONSTEXPR)
|
||||||
|
#define BOOST_CORE_NO_CONSTEXPR_ADDRESSOF
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
|
Reference in New Issue
Block a user