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
+11 -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
@@ -372,6 +372,11 @@ namespace boost_no_cxx14_variable_templates = empty_boost;
#else
namespace boost_no_cxx17 = empty_boost;
#endif
#ifndef BOOST_NO_CXX17_DEDUCTION_GUIDES
#include "boost_no_cxx17_deduction_guides.ipp"
#else
namespace boost_no_cxx17_deduction_guides = empty_boost;
#endif
#ifndef BOOST_NO_CXX17_FOLD_EXPRESSIONS
#include "boost_no_cxx17_fold_expressions.ipp"
#else
@@ -1681,6 +1686,11 @@ int main( int, char *[] )
std::cerr << "Failed test for BOOST_NO_CXX17 at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_no_cxx17_deduction_guides::test())
{
std::cerr << "Failed test for BOOST_NO_CXX17_DEDUCTION_GUIDES at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_no_cxx17_fold_expressions::test())
{
std::cerr << "Failed test for BOOST_NO_CXX17_FOLD_EXPRESSIONS at: " << __FILE__ << ":" << __LINE__ << std::endl;