Reduce detection conditions for constexpr addressof

This commit is contained in:
Glen Fernandes
2017-04-30 21:56:10 -04:00
parent 16c5503648
commit 80875a19b6

View File

@ -117,7 +117,6 @@ struct address_of<const volatile addressof_null_t> {
} /* detail */
#if defined(BOOST_NO_CXX11_SFINAE_EXPR) || \
defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \
defined(BOOST_NO_CXX11_CONSTEXPR) || \
defined(BOOST_NO_CXX11_DECLTYPE)
#define BOOST_CORE_NO_CONSTEXPR_ADDRESSOF
@ -171,7 +170,7 @@ const T (*addressof(const T (&o)[N]) BOOST_NOEXCEPT)[N]
namespace detail {
template<class T>
T&& addressof_declval() BOOST_NOEXCEPT;
T addressof_declval() BOOST_NOEXCEPT;
template<class>
struct addressof_void {