defect macro for C++14 feature std::exchange()

This commit is contained in:
Oliver Kowalke
2016-12-12 19:41:30 +01:00
parent 68b7cc8759
commit 13f5d9c88a
18 changed files with 153 additions and 4 deletions
+5
View File
@@ -79,6 +79,11 @@
#define BOOST_NO_STD_MESSAGES
#endif
// C++14 features
#if (_LIBCPP_VERSION < 3700) || (__cplusplus <= 201402L)
# define BOOST_NO_CXX14_STD_EXCHANGE
#endif
// C++17 features
#if (_LIBCPP_VERSION < 3700) || (__cplusplus <= 201402L)
# define BOOST_NO_CXX17_STD_INVOKE