forked from boostorg/config
Add new macro BOOST_NO_CXX17_HDR_OPTIONAL.
Fixes: https://github.com/boostorg/config/issues/236.
This commit is contained in:
+11
-1
@@ -1,4 +1,4 @@
|
||||
// This file was automatically generated on Wed Apr 18 20:03:40 2018
|
||||
// This file was automatically generated on Sat Aug 4 19:11:09 2018
|
||||
// by libs/config/tools/generate.cpp
|
||||
// Copyright John Maddock 2002-4.
|
||||
// Use, modification and distribution are subject to the
|
||||
@@ -342,6 +342,11 @@ namespace boost_no_cxx14_variable_templates = empty_boost;
|
||||
#else
|
||||
namespace boost_no_cxx17_fold_expressions = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CXX17_HDR_OPTIONAL
|
||||
#include "boost_no_cxx17_hdr_optional.ipp"
|
||||
#else
|
||||
namespace boost_no_cxx17_hdr_optional = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CXX17_IF_CONSTEXPR
|
||||
#include "boost_no_cxx17_if_constexpr.ipp"
|
||||
#else
|
||||
@@ -1501,6 +1506,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_NO_CXX17_FOLD_EXPRESSIONS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx17_hdr_optional::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX17_HDR_OPTIONAL at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx17_if_constexpr::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX17_IF_CONSTEXPR at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user