defect macro for C++14 feature std::exchange()

This commit is contained in:
Oliver Kowalke
2016-12-12 19:41:30 +01:00
parent 68b7cc8759
commit 13f5d9c88a
18 changed files with 153 additions and 4 deletions
+11 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Sun Dec 11 12:22:04 2016
// This file was automatically generated on Mon Dec 12 19:37:08 2016
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
@@ -312,6 +312,11 @@ namespace boost_no_cxx14_aggregate_nsdmi = empty_boost;
#else
namespace boost_no_cxx14_return_type_deduction = empty_boost;
#endif
#ifndef BOOST_NO_CXX14_STD_EXCHANGE
#include "boost_no_cxx14_std_exchange.ipp"
#else
namespace boost_no_cxx14_std_exchange = empty_boost;
#endif
#ifndef BOOST_NO_CXX14_VARIABLE_TEMPLATES
#include "boost_no_cxx14_var_templ.ipp"
#else
@@ -1566,6 +1571,11 @@ int main( int, char *[] )
std::cerr << "Failed test for BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_no_cxx14_std_exchange::test())
{
std::cerr << "Failed test for BOOST_NO_CXX14_STD_EXCHANGE at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_no_cxx14_variable_templates::test())
{
std::cerr << "Failed test for BOOST_NO_CXX14_VARIABLE_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl;