diff options
Diffstat (limited to 'boost/config/compiler/mpw.hpp')
-rw-r--r-- | boost/config/compiler/mpw.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/boost/config/compiler/mpw.hpp b/boost/config/compiler/mpw.hpp index 1b8d39ea29..d9544345ac 100644 --- a/boost/config/compiler/mpw.hpp +++ b/boost/config/compiler/mpw.hpp @@ -106,6 +106,17 @@ # 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 +#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603) +# define BOOST_NO_CXX17_FOLD_EXPRESSIONS +#endif + // // versions check: // we don't support MPW prior to version 8.9: |