forked from boostorg/config
Add helper macro BOOST_IF_CONSTEXPR.
This commit is contained in:
@@ -1002,6 +1002,14 @@ namespace std{ using ::type_info; }
|
||||
#else
|
||||
#define BOOST_INLINE_VARIABLE
|
||||
#endif
|
||||
//
|
||||
// C++17 if constexpr
|
||||
//
|
||||
#if !defined(BOOST_NO_CXX17_IF_CONSTEXPR)
|
||||
# define BOOST_IF_CONSTEXPR if constexpr
|
||||
#else
|
||||
# define BOOST_IF_CONSTEXPR if
|
||||
#endif
|
||||
|
||||
//
|
||||
// Unused variable/typedef workarounds:
|
||||
|
||||
Reference in New Issue
Block a user