Add BOOST_NO_CXX17_DEDUCTION_GUIDES.

Replaces https://github.com/boostorg/config/pull/414.
This commit is contained in:
jzmaddock
2022-06-05 16:59:35 +01:00
parent 68702caadb
commit dad856418f
16 changed files with 148 additions and 10 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Thu Feb 3 18:10:41 2022
// This file was automatically generated on Sun Jun 5 16:50:18 2022
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
+1 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Thu Feb 3 18:10:41 2022
// This file was automatically generated on Sun Jun 5 16:50:18 2022
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
+1 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Thu Feb 3 18:10:41 2022
// This file was automatically generated on Sun Jun 5 16:50:18 2022
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
+4 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Thu Feb 3 18:10:41 2022
// This file was automatically generated on Sun Jun 5 16:50:18 2022
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
@@ -12,6 +12,9 @@
#include <boost/config.hpp>
#include <boost/config/assert_cxx14.hpp>
#ifdef BOOST_NO_CXX17_DEDUCTION_GUIDES
# error "Your compiler appears not to be fully C++17 compliant. Detected via defect macro BOOST_NO_CXX17_DEDUCTION_GUIDES."
#endif
#ifdef BOOST_NO_CXX17_FOLD_EXPRESSIONS
# error "Your compiler appears not to be fully C++17 compliant. Detected via defect macro BOOST_NO_CXX17_FOLD_EXPRESSIONS."
#endif
+1 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Thu Feb 3 18:10:41 2022
// This file was automatically generated on Sun Jun 5 16:50:18 2022
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
@@ -1,4 +1,4 @@
// This file was automatically generated on Thu Feb 3 18:10:41 2022
// This file was automatically generated on Sun Jun 5 16:50:18 2022
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
@@ -163,6 +163,7 @@
#endif
#if defined(BOOST_NO_CXX14)\
|| defined(BOOST_NO_CXX17_DEDUCTION_GUIDES)\
|| defined(BOOST_NO_CXX17_FOLD_EXPRESSIONS)\
|| defined(BOOST_NO_CXX17_HDR_ANY)\
|| defined(BOOST_NO_CXX17_HDR_CHARCONV)\
+4
View File
@@ -1219,6 +1219,10 @@ namespace std{ using ::type_info; }
# define BOOST_NO_CXX20_HDR_VERSION
#endif
#if !defined(__cpp_deduction_guides) || (__cpp_deduction_guides < 201606)
# define BOOST_NO_CXX17_DEDUCTION_GUIDES
#endif
//
// Define composite agregate macros:
//