summaryrefslogtreecommitdiff
path: root/boost/config/compiler/pgi.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/config/compiler/pgi.hpp')
-rw-r--r--boost/config/compiler/pgi.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/boost/config/compiler/pgi.hpp b/boost/config/compiler/pgi.hpp
index af7005142f..4c402ba0d6 100644
--- a/boost/config/compiler/pgi.hpp
+++ b/boost/config/compiler/pgi.hpp
@@ -151,6 +151,17 @@
#if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
# 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
//
// version check:
// probably nothing to do here?