Add std::is_constant_evaluated support.

This commit is contained in:
jzmaddock
2021-08-08 19:25:31 +01:00
parent c3de80c2ef
commit 6895525d38
163 changed files with 539 additions and 152 deletions
+11 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Sat Mar 6 19:55:52 2021
// This file was automatically generated on Sun Aug 8 13:43:48 2021
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
@@ -517,6 +517,11 @@ namespace boost_no_cxx20_hdr_stop_token = empty_boost;
#else
namespace boost_no_cxx20_hdr_syncstream = empty_boost;
#endif
#ifndef BOOST_NO_CXX20_IS_CONSTANT_EVALUATED
#include "boost_no_cxx20_is_constant_evaluated.ipp"
#else
namespace boost_no_cxx20_is_constant_evaluated = empty_boost;
#endif
#ifndef BOOST_NO_CXX98_BINDERS
#include "boost_no_cxx98_binders.ipp"
#else
@@ -1821,6 +1826,11 @@ int main( int, char *[] )
std::cerr << "Failed test for BOOST_NO_CXX20_HDR_SYNCSTREAM at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_no_cxx20_is_constant_evaluated::test())
{
std::cerr << "Failed test for BOOST_NO_CXX20_IS_CONSTANT_EVALUATED at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_no_cxx98_binders::test())
{
std::cerr << "Failed test for BOOST_NO_CXX98_BINDERS at: " << __FILE__ << ":" << __LINE__ << std::endl;