Add BOOST_NO_CXX17_HDR_VARIANT.

See https://github.com/boostorg/config/issues/264
This commit is contained in:
jzmaddock
2019-04-01 19:08:54 +01:00
parent db26d1431c
commit d112744885
150 changed files with 173 additions and 144 deletions
+11 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// This file was automatically generated on Mon Apr 1 19:04:05 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
@@ -352,6 +352,11 @@ namespace boost_no_cxx17_hdr_optional = empty_boost;
#else
namespace boost_no_cxx17_hdr_string_view = empty_boost;
#endif
#ifndef BOOST_NO_CXX17_HDR_VARIANT
#include "boost_no_cxx17_hdr_variant.ipp"
#else
namespace boost_no_cxx17_hdr_variant = empty_boost;
#endif
#ifndef BOOST_NO_CXX17_IF_CONSTEXPR
#include "boost_no_cxx17_if_constexpr.ipp"
#else
@@ -1521,6 +1526,11 @@ int main( int, char *[] )
std::cerr << "Failed test for BOOST_NO_CXX17_HDR_STRING_VIEW at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_no_cxx17_hdr_variant::test())
{
std::cerr << "Failed test for BOOST_NO_CXX17_HDR_VARIANT 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;