Add BOOST_NO_CXX17_IF_CONSTEXPR.

This commit is contained in:
Zach Laine committed 2018-03-06 17:44:52 -06:00
1 parent f68542269a
commit 15d78e548f
23 files changed
+193 -4

No files matched your search

+4
View File
@@ -246,6 +246,10 @@
# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
// Clang 3.9+ in c++1z
#if !__has_cpp_attribute(fallthrough) || __cplusplus < 201406L
# define BOOST_NO_CXX17_INLINE_VARIABLES