forked from boostorg/config
Add BOOST_NO_CXX17_DEDUCTION_GUIDES.
Replaces https://github.com/boostorg/config/pull/414.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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,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)\
|
||||
|
||||
@@ -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:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user