mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-02-28 05:22:38 +00:00
Correct definition of BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
Fixes https://github.com/boostorg/multiprecision/issues/286
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
#if defined(BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS) || BOOST_WORKAROUND(__SUNPRO_CC, < 0x5140)
|
||||
#define BOOST_MP_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
|
||||
#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) || defined(BOOST_NO_CXX11_HDR_ARRAY)\
|
||||
|| defined(BOOST_NO_CXX11_ALLOCATOR) || defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) || defined(BOOST_NO_CXX11_CONSTEXPR)\
|
||||
|| defined(BOOST_MP_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS) || defined(BOOST_NO_CXX11_REF_QUALIFIERS) || defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)\
|
||||
@@ -53,10 +57,6 @@
|
||||
#define BOOST_MP_NOEXCEPT_IF(x) BOOST_NOEXCEPT_IF(x)
|
||||
#endif
|
||||
|
||||
#if defined(BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS) || BOOST_WORKAROUND(__SUNPRO_CC, < 0x5140)
|
||||
#define BOOST_MP_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
|
||||
//
|
||||
// Thread local storage:
|
||||
// Note fails on Mingw, see https://sourceforge.net/p/mingw-w64/bugs/527/
|
||||
|
||||
Reference in New Issue
Block a user