Include lightweight_test from core and workaround from config

This commit is contained in:
Glen Fernandes
2020-01-01 08:57:25 -05:00
parent 72ca0d8664
commit ac4c781cac
24 changed files with 24 additions and 24 deletions

View File

@ -16,7 +16,7 @@
// http://www.boost.org/LICENSE_1_0.txt // http://www.boost.org/LICENSE_1_0.txt
#include <boost/utility/addressof.hpp> #include <boost/utility/addressof.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
void f0() void f0()

View File

@ -7,7 +7,7 @@
// //
#include <boost/utility/addressof.hpp> #include <boost/utility/addressof.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
#include <cstddef> #include <cstddef>
#if defined( BOOST_NO_CXX11_NULLPTR ) #if defined( BOOST_NO_CXX11_NULLPTR )

View File

@ -20,7 +20,7 @@
#pragma warning(pop) #pragma warning(pop)
#endif #endif
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
template<class T> void scalar_test( T * = 0 ) template<class T> void scalar_test( T * = 0 )
{ {

View File

@ -22,7 +22,7 @@
#pragma warning(pop) #pragma warning(pop)
#endif #endif
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
template<class T> void scalar_test( T * = 0 ) template<class T> void scalar_test( T * = 0 )
{ {

View File

@ -12,7 +12,7 @@
#include <boost/utility/enable_if.hpp> #include <boost/utility/enable_if.hpp>
#include <boost/type_traits.hpp> #include <boost/type_traits.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
using boost::enable_if; using boost::enable_if;
using boost::disable_if; using boost::disable_if;

View File

@ -12,7 +12,7 @@
#include <boost/utility/enable_if.hpp> #include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_arithmetic.hpp> #include <boost/type_traits/is_arithmetic.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
using boost::enable_if; using boost::enable_if;
using boost::disable_if; using boost::disable_if;

View File

@ -12,7 +12,7 @@
#include <boost/utility/enable_if.hpp> #include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_same.hpp> #include <boost/type_traits/is_same.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
using boost::enable_if_c; using boost::enable_if_c;
using boost::lazy_enable_if_c; using boost::lazy_enable_if_c;

View File

@ -14,7 +14,7 @@
#include <boost/utility/enable_if.hpp> #include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_same.hpp> #include <boost/type_traits/is_same.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
using boost::lazy_enable_if; using boost::lazy_enable_if;
using boost::lazy_disable_if; using boost::lazy_disable_if;

View File

@ -12,7 +12,7 @@
#include <boost/utility/enable_if.hpp> #include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_arithmetic.hpp> #include <boost/type_traits/is_arithmetic.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
using boost::enable_if; using boost::enable_if;
using boost::disable_if; using boost::disable_if;

View File

@ -13,7 +13,7 @@
#include <boost/config.hpp> #include <boost/config.hpp>
#include <boost/utility/enable_if.hpp> #include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_arithmetic.hpp> #include <boost/type_traits/is_arithmetic.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
using boost::enable_if; using boost::enable_if;
using boost::is_arithmetic; using boost::is_arithmetic;

View File

@ -13,7 +13,7 @@
#include <boost/config.hpp> #include <boost/config.hpp>
#include <boost/utility/enable_if.hpp> #include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_arithmetic.hpp> #include <boost/type_traits/is_arithmetic.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
using boost::enable_if; using boost::enable_if;
using boost::is_arithmetic; using boost::is_arithmetic;

View File

@ -12,7 +12,7 @@
#include <boost/utility/enable_if.hpp> #include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_arithmetic.hpp> #include <boost/type_traits/is_arithmetic.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
using boost::enable_if_has_type; using boost::enable_if_has_type;
using boost::enable_if_c; using boost::enable_if_c;

View File

@ -18,7 +18,7 @@
#if !defined(BOOST_NO_CXX11_NOEXCEPT) #if !defined(BOOST_NO_CXX11_NOEXCEPT)
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
#include <boost/utility/explicit_operator_bool.hpp> #include <boost/utility/explicit_operator_bool.hpp>
namespace { namespace {

View File

@ -8,7 +8,7 @@
// http://www.boost.org/LICENSE_1_0.txt // http://www.boost.org/LICENSE_1_0.txt
// //
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
int main() int main()
{ {

View File

@ -8,7 +8,7 @@
// http://www.boost.org/LICENSE_1_0.txt // http://www.boost.org/LICENSE_1_0.txt
// //
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
int main() int main()
{ {

View File

@ -8,7 +8,7 @@
// http://www.boost.org/LICENSE_1_0.txt // http://www.boost.org/LICENSE_1_0.txt
// //
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
int main() int main()
{ {

View File

@ -8,7 +8,7 @@
// http://www.boost.org/LICENSE_1_0.txt // http://www.boost.org/LICENSE_1_0.txt
// //
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
int main() int main()
{ {

View File

@ -8,7 +8,7 @@
// http://www.boost.org/LICENSE_1_0.txt // http://www.boost.org/LICENSE_1_0.txt
// //
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
struct X struct X
{ {

View File

@ -8,7 +8,7 @@
// http://www.boost.org/LICENSE_1_0.txt // http://www.boost.org/LICENSE_1_0.txt
// //
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
struct X struct X
{ {

View File

@ -9,7 +9,7 @@
// //
#include <vector> #include <vector>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
struct X struct X
{ {

View File

@ -9,7 +9,7 @@
#include <boost/ref.hpp> #include <boost/ref.hpp>
#include <boost/core/is_same.hpp> #include <boost/core/is_same.hpp>
#include <boost/static_assert.hpp> #include <boost/static_assert.hpp>
#include <boost/detail/workaround.hpp> #include <boost/config/workaround.hpp>
namespace { namespace {

View File

@ -16,7 +16,7 @@
// http://www.boost.org/LICENSE_1_0.txt // http://www.boost.org/LICENSE_1_0.txt
#include <boost/ref.hpp> #include <boost/ref.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
void f0() void f0()

View File

@ -7,7 +7,7 @@
// see 'ref_ct_test.cpp' for compile-time part // see 'ref_ct_test.cpp' for compile-time part
#include <boost/ref.hpp> #include <boost/ref.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
namespace { namespace {
using namespace boost; using namespace boost;

View File

@ -11,7 +11,7 @@
#define BOOST_ALLOW_DEPRECATED_HEADERS #define BOOST_ALLOW_DEPRECATED_HEADERS
#include <boost/detail/sp_typeinfo.hpp> #include <boost/detail/sp_typeinfo.hpp>
#include <boost/detail/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>
#include <iostream> #include <iostream>
int main() int main()