Add BOOST_NO_CXX17_FOLD_EXPRESSIONS detection

This commit is contained in:
Glen Fernandes
2017-05-29 10:15:41 -04:00
parent 1995778211
commit a6ccb8f910
24 changed files with 167 additions and 4 deletions
+11 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Mon May 29 10:00:26 2017
// This file was automatically generated on Mon May 29 10:27:35 2017
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
@@ -332,6 +332,11 @@ namespace boost_no_cxx14_std_exchange = empty_boost;
#else
namespace boost_no_cxx14_variable_templates = empty_boost;
#endif
#ifndef BOOST_NO_CXX17_FOLD_EXPRESSIONS
#include "boost_no_cxx17_fold_expressions.ipp"
#else
namespace boost_no_cxx17_fold_expressions = empty_boost;
#endif
#ifndef BOOST_NO_CXX17_INLINE_VARIABLES
#include "boost_no_cxx17_inline_variables.ipp"
#else
@@ -1461,6 +1466,11 @@ int main( int, char *[] )
std::cerr << "Failed test for BOOST_NO_CXX14_VARIABLE_TEMPLATES 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;
++error_count;
}
if(0 != boost_no_cxx17_inline_variables::test())
{
std::cerr << "Failed test for BOOST_NO_CXX17_INLINE_VARIABLES at: " << __FILE__ << ":" << __LINE__ << std::endl;