mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Simplify BOOST_OPERATORS_CONSTEXPR definition
This commit is contained in:
parent
5da340a2a4
commit
64fffa0f97
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user