Add BOOST_NO_CXX17_STRUCTURED_BINDINGS detection

This commit is contained in:
Glen Fernandes
2017-05-29 09:57:18 -04:00
parent 833634021a
commit fe06370972
24 changed files with 213 additions and 4 deletions
@@ -154,6 +154,15 @@
# define BOOST_NO_CXX14_VARIABLE_TEMPLATES
#endif
// C++17
#if !defined(__cpp_structured_bindings) || (__cpp_structured_bindings < 201606)
# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
#endif
#if !defined(__cpp_inline_variables) || (__cpp_inline_variables < 201606)
# define BOOST_NO_CXX17_INLINE_VARIABLES
#endif
//
// TR1 macros:
//