Simplify BOOST_OPERATORS_CONSTEXPR definition

This commit is contained in:
Glen Fernandes 2020-04-12 13:00:59 -04:00
parent 5da340a2a4
commit 64fffa0f97

View File

@ -110,12 +110,8 @@
#endif // operator-> not begin a UDT #endif // operator-> not begin a UDT
// Define BOOST_OPERATORS_CONSTEXPR to be like BOOST_CONSTEXPR but empty under MSVC < v19.22 // Define BOOST_OPERATORS_CONSTEXPR to be like BOOST_CONSTEXPR but empty under MSVC < v19.22
#ifdef BOOST_MSVC #if BOOST_WORKAROUND(BOOST_MSVC, < 1922)
#if BOOST_MSVC_FULL_VER >= 192200000
#define BOOST_OPERATORS_CONSTEXPR constexpr
#else
#define BOOST_OPERATORS_CONSTEXPR #define BOOST_OPERATORS_CONSTEXPR
#endif
#else #else
#define BOOST_OPERATORS_CONSTEXPR BOOST_CONSTEXPR #define BOOST_OPERATORS_CONSTEXPR BOOST_CONSTEXPR
#endif #endif