forked from boostorg/config
Update in preparation for adding the TR1 library.
[SVN r31327]
This commit is contained in:
59
test/Jamfile
59
test/Jamfile
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Regression test Jamfile for boost configuration setup.
|
# Regression test Jamfile for boost configuration setup.
|
||||||
# *** DO NOT EDIT THIS FILE BY HAND ***
|
# *** DO NOT EDIT THIS FILE BY HAND ***
|
||||||
# This file was automatically generated on Fri Dec 17 11:13:11 2004
|
# This file was automatically generated on Fri Oct 14 18:38:49 2005
|
||||||
# by libs/config/tools/generate.cpp
|
# by libs/config/tools/generate.cpp
|
||||||
# Copyright John Maddock.
|
# Copyright John Maddock.
|
||||||
#
|
#
|
||||||
@ -29,6 +29,9 @@ test-suite "BOOST_HAS_CLOCK_GETTIME" :
|
|||||||
test-suite "BOOST_HAS_DIRENT_H" :
|
test-suite "BOOST_HAS_DIRENT_H" :
|
||||||
[ run has_dirent_h_pass.cpp <template>config_options ]
|
[ run has_dirent_h_pass.cpp <template>config_options ]
|
||||||
[ compile-fail has_dirent_h_fail.cpp <template>config_options ] ;
|
[ compile-fail has_dirent_h_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_EXPM1" :
|
||||||
|
[ run has_expm1_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_expm1_fail.cpp <template>config_options ] ;
|
||||||
test-suite "BOOST_HAS_FTIME" :
|
test-suite "BOOST_HAS_FTIME" :
|
||||||
[ run has_ftime_pass.cpp <template>config_options ]
|
[ run has_ftime_pass.cpp <template>config_options ]
|
||||||
[ compile-fail has_ftime_fail.cpp <template>config_options ] ;
|
[ compile-fail has_ftime_fail.cpp <template>config_options ] ;
|
||||||
@ -38,6 +41,9 @@ test-suite "BOOST_HAS_GETTIMEOFDAY" :
|
|||||||
test-suite "BOOST_HAS_HASH" :
|
test-suite "BOOST_HAS_HASH" :
|
||||||
[ run has_hash_pass.cpp <template>config_options ]
|
[ run has_hash_pass.cpp <template>config_options ]
|
||||||
[ compile-fail has_hash_fail.cpp <template>config_options ] ;
|
[ compile-fail has_hash_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_LOG1P" :
|
||||||
|
[ run has_log1p_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_log1p_fail.cpp <template>config_options ] ;
|
||||||
test-suite "BOOST_HAS_LONG_LONG" :
|
test-suite "BOOST_HAS_LONG_LONG" :
|
||||||
[ run has_long_long_pass.cpp <template>config_options ]
|
[ run has_long_long_pass.cpp <template>config_options ]
|
||||||
[ compile-fail has_long_long_fail.cpp <template>config_options ] ;
|
[ compile-fail has_long_long_fail.cpp <template>config_options ] ;
|
||||||
@ -89,6 +95,57 @@ test-suite "BOOST_HAS_STDINT_H" :
|
|||||||
test-suite "BOOST_HAS_STLP_USE_FACET" :
|
test-suite "BOOST_HAS_STLP_USE_FACET" :
|
||||||
[ run has_stlp_use_facet_pass.cpp <template>config_options ]
|
[ run has_stlp_use_facet_pass.cpp <template>config_options ]
|
||||||
[ compile-fail has_stlp_use_facet_fail.cpp <template>config_options ] ;
|
[ compile-fail has_stlp_use_facet_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_ARRAY" :
|
||||||
|
[ run has_tr1_array_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_array_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_BIND" :
|
||||||
|
[ run has_tr1_bind_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_bind_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_COMPLEX_OVERLOADS" :
|
||||||
|
[ run has_tr1_complex_over_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_complex_over_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG" :
|
||||||
|
[ run has_tr1_complex_trig_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_complex_trig_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_FUNCTION" :
|
||||||
|
[ run has_tr1_function_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_function_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_HASH" :
|
||||||
|
[ run has_tr1_hash_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_hash_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_MEM_FN" :
|
||||||
|
[ run has_tr1_mem_fn_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_mem_fn_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_RANDOM" :
|
||||||
|
[ run has_tr1_random_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_random_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_REFERENCE_WRAPPER" :
|
||||||
|
[ run has_tr1_ref_wrap_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_ref_wrap_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_ARRAY" :
|
||||||
|
[ run has_tr1_regex_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_regex_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_RESULT_OF" :
|
||||||
|
[ run has_tr1_result_of_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_result_of_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_SHARED_PTR" :
|
||||||
|
[ run has_tr1_shared_ptr_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_shared_ptr_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_TUPLE" :
|
||||||
|
[ run has_tr1_tuple_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_tuple_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_TYPE_TRAITS" :
|
||||||
|
[ run has_tr1_type_traits_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_type_traits_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_UNORDERED_MAP" :
|
||||||
|
[ run has_tr1_unordered_map_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_unordered_map_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_UNORDERED_SET" :
|
||||||
|
[ run has_tr1_unordered_set_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_unordered_set_fail.cpp <template>config_options ] ;
|
||||||
|
test-suite "BOOST_HAS_TR1_UTILITY" :
|
||||||
|
[ run has_tr1_utility_pass.cpp <template>config_options ]
|
||||||
|
[ compile-fail has_tr1_utility_fail.cpp <template>config_options ] ;
|
||||||
test-suite "BOOST_HAS_UNISTD_H" :
|
test-suite "BOOST_HAS_UNISTD_H" :
|
||||||
[ run has_unistd_h_pass.cpp <template>config_options ]
|
[ run has_unistd_h_pass.cpp <template>config_options ]
|
||||||
[ compile-fail has_unistd_h_fail.cpp <template>config_options ] ;
|
[ compile-fail has_unistd_h_fail.cpp <template>config_options ] ;
|
||||||
|
25
test/boost_has_expm1.ipp
Normal file
25
test/boost_has_expm1.ipp
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_EXPM1
|
||||||
|
// TITLE: expm1
|
||||||
|
// DESCRIPTION: The std lib has a C99-conforming expm1 function.
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
|
namespace boost_has_expm1{
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
double x = 0.5;
|
||||||
|
x = ::expm1(x);
|
||||||
|
(void)x;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
24
test/boost_has_log1p.ipp
Normal file
24
test/boost_has_log1p.ipp
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_LOG1P
|
||||||
|
// TITLE: log1p
|
||||||
|
// DESCRIPTION: The std lib has a C99-conforming log1p function.
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
|
namespace boost_has_log1p{
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
double x = 0.5;
|
||||||
|
x = ::log1p(x);
|
||||||
|
(void)x;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
23
test/boost_has_tr1_array.ipp
Normal file
23
test/boost_has_tr1_array.ipp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_ARRAY
|
||||||
|
// TITLE: std::tr1::array
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming array library.
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_array{
|
||||||
|
|
||||||
|
using std::tr1::array;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
23
test/boost_has_tr1_bind.ipp
Normal file
23
test/boost_has_tr1_bind.ipp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_BIND
|
||||||
|
// TITLE: std::tr1::bind
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming bind template function.
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_bind{
|
||||||
|
|
||||||
|
using std::tr1::bind;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
24
test/boost_has_tr1_complex_over.ipp
Normal file
24
test/boost_has_tr1_complex_over.ipp
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_COMPLEX_OVERLOADS
|
||||||
|
// TITLE: std::complex overloads
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming set of std::complex overloads.
|
||||||
|
|
||||||
|
#include <complex>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_complex_overloads{
|
||||||
|
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
std::arg(0);
|
||||||
|
std::conj(0.0);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
30
test/boost_has_tr1_complex_trig.ipp
Normal file
30
test/boost_has_tr1_complex_trig.ipp
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG
|
||||||
|
// TITLE: std::complex inverse trig functions
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming set of std::complex inverse trig functions.
|
||||||
|
|
||||||
|
#include <complex>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_complex_inverse_trig{
|
||||||
|
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
std::complex<double> cd;
|
||||||
|
std::asin(cd);
|
||||||
|
std::acos(cd);
|
||||||
|
std::atan(cd);
|
||||||
|
std::asinh(cd);
|
||||||
|
std::acosh(cd);
|
||||||
|
std::atanh(cd);
|
||||||
|
std::fabs(cd);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
23
test/boost_has_tr1_function.ipp
Normal file
23
test/boost_has_tr1_function.ipp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_FUNCTION
|
||||||
|
// TITLE: std::tr1::function
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming function template class.
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_bind{
|
||||||
|
|
||||||
|
using std::tr1::function;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
23
test/boost_has_tr1_hash.ipp
Normal file
23
test/boost_has_tr1_hash.ipp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_HASH
|
||||||
|
// TITLE: std::tr1::hash
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming hash function library.
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_hash{
|
||||||
|
|
||||||
|
using std::tr1::hash;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
23
test/boost_has_tr1_mem_fn.ipp
Normal file
23
test/boost_has_tr1_mem_fn.ipp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_MEM_FN
|
||||||
|
// TITLE: std::tr1::mem_fn
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming mem_fn template function.
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_mem_fn{
|
||||||
|
|
||||||
|
using std::tr1::mem_fn;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
23
test/boost_has_tr1_random.ipp
Normal file
23
test/boost_has_tr1_random.ipp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_RANDOM
|
||||||
|
// TITLE: std::tr1::random
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming random numer library.
|
||||||
|
|
||||||
|
#include <random>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_random{
|
||||||
|
|
||||||
|
using std::tr1::variate_generator;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
24
test/boost_has_tr1_ref_wrap.ipp
Normal file
24
test/boost_has_tr1_ref_wrap.ipp
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_REFERENCE_WRAPPER
|
||||||
|
// TITLE: std::tr1::reference_wrapper
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming reference_wrapper.
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_reference_wrapper{
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
std::tr1::reference_wrapper<int> r = std::tr1::ref(i);
|
||||||
|
(void)r;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
23
test/boost_has_tr1_regex.ipp
Normal file
23
test/boost_has_tr1_regex.ipp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_ARRAY
|
||||||
|
// TITLE: std::tr1::array
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming array library.
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_array{
|
||||||
|
|
||||||
|
using std::tr1::array;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
24
test/boost_has_tr1_result_of.ipp
Normal file
24
test/boost_has_tr1_result_of.ipp
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_RESULT_OF
|
||||||
|
// TITLE: std::tr1::result_of
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming result_of template.
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_result_of{
|
||||||
|
|
||||||
|
typedef std::tr1::result_of<int*(int)> r;
|
||||||
|
typedef typename r::type rr;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
24
test/boost_has_tr1_shared_ptr.ipp
Normal file
24
test/boost_has_tr1_shared_ptr.ipp
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_SHARED_PTR
|
||||||
|
// TITLE: std::tr1::shared_ptr
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming shrared_ptr.
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_shared_ptr{
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
std::tr1::shared_ptr<int> r(new int());
|
||||||
|
(void)r;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
23
test/boost_has_tr1_tuple.ipp
Normal file
23
test/boost_has_tr1_tuple.ipp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_TUPLE
|
||||||
|
// TITLE: std::tr1::tuple
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming tuple library.
|
||||||
|
|
||||||
|
#include <tuple>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_tuple{
|
||||||
|
|
||||||
|
using std::tr1::tuple;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
23
test/boost_has_tr1_type_traits.ipp
Normal file
23
test/boost_has_tr1_type_traits.ipp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_TYPE_TRAITS
|
||||||
|
// TITLE: std::tr1::type_traits
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming type traits library.
|
||||||
|
|
||||||
|
#include <type_traits>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_type_traits{
|
||||||
|
|
||||||
|
using std::tr1::is_void;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
24
test/boost_has_tr1_unordered_map.ipp
Normal file
24
test/boost_has_tr1_unordered_map.ipp
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_UNORDERED_MAP
|
||||||
|
// TITLE: std::tr1::unordered_map
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming unordered map library.
|
||||||
|
|
||||||
|
#include <unordered_map>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_unordered_map{
|
||||||
|
|
||||||
|
using std::tr1::unordered_map;
|
||||||
|
using std::tr1::unordered_multimap;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
24
test/boost_has_tr1_unordered_set.ipp
Normal file
24
test/boost_has_tr1_unordered_set.ipp
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_UNORDERED_SET
|
||||||
|
// TITLE: std::tr1::unordered_set
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming unordered set library.
|
||||||
|
|
||||||
|
#include <unordered_set>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_unordered_set{
|
||||||
|
|
||||||
|
using std::tr1::unordered_set;
|
||||||
|
using std::tr1::unordered_multiset;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
25
test/boost_has_tr1_utility.ipp
Normal file
25
test/boost_has_tr1_utility.ipp
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
// (C) Copyright John Maddock 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_HAS_TR1_UTILITY
|
||||||
|
// TITLE: std::tr1::utility
|
||||||
|
// DESCRIPTION: The std lib has a tr1-conforming utility header.
|
||||||
|
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
|
namespace boost_has_tr1_utility{
|
||||||
|
|
||||||
|
using std::tr1::get;
|
||||||
|
using std::tr1::tuple_size;
|
||||||
|
using std::tr1::tuple_element;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -883,18 +883,21 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_NO_STDLIB_CONFIG);
|
PRINT_MACRO(BOOST_NO_STDLIB_CONFIG);
|
||||||
PRINT_MACRO(BOOST_NO_PLATFORM_CONFIG);
|
PRINT_MACRO(BOOST_NO_PLATFORM_CONFIG);
|
||||||
// then defect and feature macros:
|
// then defect and feature macros:
|
||||||
PRINT_MACRO(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG);
|
|
||||||
PRINT_MACRO(BOOST_DEDUCED_TYPENAME);
|
|
||||||
PRINT_MACRO(BOOST_DISABLE_THREADS);
|
PRINT_MACRO(BOOST_DISABLE_THREADS);
|
||||||
PRINT_MACRO(BOOST_DISABLE_WIN32);
|
PRINT_MACRO(BOOST_DISABLE_WIN32);
|
||||||
|
|
||||||
|
// BEGIN GENERATED BLOCK DO NOT EDIT THIS!!!!!!
|
||||||
|
PRINT_MACRO(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG);
|
||||||
|
PRINT_MACRO(BOOST_DEDUCED_TYPENAME);
|
||||||
PRINT_MACRO(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL);
|
PRINT_MACRO(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL);
|
||||||
PRINT_MACRO(BOOST_HAS_BETHREADS);
|
PRINT_MACRO(BOOST_HAS_BETHREADS);
|
||||||
PRINT_MACRO(BOOST_HAS_CLOCK_GETTIME);
|
PRINT_MACRO(BOOST_HAS_CLOCK_GETTIME);
|
||||||
PRINT_MACRO(BOOST_HAS_DECLSPEC);
|
|
||||||
PRINT_MACRO(BOOST_HAS_DIRENT_H);
|
PRINT_MACRO(BOOST_HAS_DIRENT_H);
|
||||||
|
PRINT_MACRO(BOOST_HAS_EXPM1);
|
||||||
PRINT_MACRO(BOOST_HAS_FTIME);
|
PRINT_MACRO(BOOST_HAS_FTIME);
|
||||||
PRINT_MACRO(BOOST_HAS_GETTIMEOFDAY);
|
PRINT_MACRO(BOOST_HAS_GETTIMEOFDAY);
|
||||||
PRINT_MACRO(BOOST_HAS_HASH);
|
PRINT_MACRO(BOOST_HAS_HASH);
|
||||||
|
PRINT_MACRO(BOOST_HAS_LOG1P);
|
||||||
PRINT_MACRO(BOOST_HAS_LONG_LONG);
|
PRINT_MACRO(BOOST_HAS_LONG_LONG);
|
||||||
PRINT_MACRO(BOOST_HAS_MACRO_USE_FACET);
|
PRINT_MACRO(BOOST_HAS_MACRO_USE_FACET);
|
||||||
PRINT_MACRO(BOOST_HAS_MS_INT64);
|
PRINT_MACRO(BOOST_HAS_MS_INT64);
|
||||||
@ -902,25 +905,37 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_HAS_NL_TYPES_H);
|
PRINT_MACRO(BOOST_HAS_NL_TYPES_H);
|
||||||
PRINT_MACRO(BOOST_HAS_NRVO);
|
PRINT_MACRO(BOOST_HAS_NRVO);
|
||||||
PRINT_MACRO(BOOST_HAS_PARTIAL_STD_ALLOCATOR);
|
PRINT_MACRO(BOOST_HAS_PARTIAL_STD_ALLOCATOR);
|
||||||
|
PRINT_MACRO(BOOST_HAS_PTHREADS);
|
||||||
PRINT_MACRO(BOOST_HAS_PTHREAD_DELAY_NP);
|
PRINT_MACRO(BOOST_HAS_PTHREAD_DELAY_NP);
|
||||||
PRINT_MACRO(BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE);
|
PRINT_MACRO(BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE);
|
||||||
PRINT_MACRO(BOOST_HAS_PTHREAD_YIELD);
|
PRINT_MACRO(BOOST_HAS_PTHREAD_YIELD);
|
||||||
PRINT_MACRO(BOOST_HAS_PTHREADS);
|
|
||||||
PRINT_MACRO(BOOST_HAS_SCHED_YIELD);
|
PRINT_MACRO(BOOST_HAS_SCHED_YIELD);
|
||||||
PRINT_MACRO(BOOST_HAS_SIGACTION);
|
|
||||||
PRINT_MACRO(BOOST_HAS_SGI_TYPE_TRAITS);
|
PRINT_MACRO(BOOST_HAS_SGI_TYPE_TRAITS);
|
||||||
PRINT_MACRO(BOOST_HAS_STDINT_H);
|
PRINT_MACRO(BOOST_HAS_SIGACTION);
|
||||||
PRINT_MACRO(BOOST_HAS_SLIST);
|
PRINT_MACRO(BOOST_HAS_SLIST);
|
||||||
|
PRINT_MACRO(BOOST_HAS_STDINT_H);
|
||||||
PRINT_MACRO(BOOST_HAS_STLP_USE_FACET);
|
PRINT_MACRO(BOOST_HAS_STLP_USE_FACET);
|
||||||
PRINT_MACRO(BOOST_HAS_THREADS);
|
PRINT_MACRO(BOOST_HAS_TR1_ARRAY);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_BIND);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_COMPLEX_OVERLOADS);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_FUNCTION);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_HASH);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_MEM_FN);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_RANDOM);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_REFERENCE_WRAPPER);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_RESULT_OF);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_SHARED_PTR);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_TUPLE);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_TYPE_TRAITS);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_UNORDERED_MAP);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_UNORDERED_SET);
|
||||||
|
PRINT_MACRO(BOOST_HAS_TR1_UTILITY);
|
||||||
PRINT_MACRO(BOOST_HAS_TWO_ARG_USE_FACET);
|
PRINT_MACRO(BOOST_HAS_TWO_ARG_USE_FACET);
|
||||||
PRINT_MACRO(BOOST_HAS_UNISTD_H);
|
PRINT_MACRO(BOOST_HAS_UNISTD_H);
|
||||||
PRINT_MACRO(BOOST_HAS_WINTHREADS);
|
PRINT_MACRO(BOOST_HAS_WINTHREADS);
|
||||||
PRINT_MACRO(BOOST_INTEL);
|
|
||||||
PRINT_MACRO(BOOST_MSVC);
|
|
||||||
PRINT_MACRO(BOOST_MSVC_STD_ITERATOR);
|
|
||||||
PRINT_MACRO(BOOST_MSVC6_MEMBER_TEMPLATES);
|
PRINT_MACRO(BOOST_MSVC6_MEMBER_TEMPLATES);
|
||||||
PRINT_MACRO(BOOST_NESTED_TEMPLATE);
|
PRINT_MACRO(BOOST_MSVC_STD_ITERATOR);
|
||||||
PRINT_MACRO(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP);
|
PRINT_MACRO(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP);
|
||||||
PRINT_MACRO(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS);
|
PRINT_MACRO(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS);
|
||||||
PRINT_MACRO(BOOST_NO_AUTO_PTR);
|
PRINT_MACRO(BOOST_NO_AUTO_PTR);
|
||||||
@ -929,15 +944,13 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_NO_CV_VOID_SPECIALIZATIONS);
|
PRINT_MACRO(BOOST_NO_CV_VOID_SPECIALIZATIONS);
|
||||||
PRINT_MACRO(BOOST_NO_CWCHAR);
|
PRINT_MACRO(BOOST_NO_CWCHAR);
|
||||||
PRINT_MACRO(BOOST_NO_CWCTYPE);
|
PRINT_MACRO(BOOST_NO_CWCTYPE);
|
||||||
PRINT_MACRO(BOOST_NO_DEDUCED_TYPENAME);
|
|
||||||
PRINT_MACRO(BOOST_NO_DEPENDENT_NESTED_DERIVATIONS);
|
PRINT_MACRO(BOOST_NO_DEPENDENT_NESTED_DERIVATIONS);
|
||||||
PRINT_MACRO(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS);
|
PRINT_MACRO(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS);
|
||||||
PRINT_MACRO(BOOST_NO_EXCEPTIONS);
|
PRINT_MACRO(BOOST_NO_EXCEPTIONS);
|
||||||
|
PRINT_MACRO(BOOST_NO_EXCEPTION_STD_NAMESPACE);
|
||||||
PRINT_MACRO(BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS);
|
PRINT_MACRO(BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS);
|
||||||
PRINT_MACRO(BOOST_NO_FUNCTION_TEMPLATE_ORDERING);
|
PRINT_MACRO(BOOST_NO_FUNCTION_TEMPLATE_ORDERING);
|
||||||
PRINT_MACRO(BOOST_NO_HASH);
|
|
||||||
PRINT_MACRO(BOOST_NO_INCLASS_MEMBER_INITIALIZATION);
|
PRINT_MACRO(BOOST_NO_INCLASS_MEMBER_INITIALIZATION);
|
||||||
PRINT_MACRO(BOOST_NO_INT64_T);
|
|
||||||
PRINT_MACRO(BOOST_NO_INTEGRAL_INT64_T);
|
PRINT_MACRO(BOOST_NO_INTEGRAL_INT64_T);
|
||||||
PRINT_MACRO(BOOST_NO_INTRINSIC_WCHAR_T);
|
PRINT_MACRO(BOOST_NO_INTRINSIC_WCHAR_T);
|
||||||
PRINT_MACRO(BOOST_NO_IS_ABSTRACT);
|
PRINT_MACRO(BOOST_NO_IS_ABSTRACT);
|
||||||
@ -945,15 +958,16 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS);
|
PRINT_MACRO(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS);
|
||||||
PRINT_MACRO(BOOST_NO_LONG_LONG_NUMERIC_LIMITS);
|
PRINT_MACRO(BOOST_NO_LONG_LONG_NUMERIC_LIMITS);
|
||||||
PRINT_MACRO(BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS);
|
PRINT_MACRO(BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS);
|
||||||
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_KEYWORD);
|
|
||||||
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_FRIENDS);
|
|
||||||
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATES);
|
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATES);
|
||||||
|
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_FRIENDS);
|
||||||
|
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_KEYWORD);
|
||||||
PRINT_MACRO(BOOST_NO_MS_INT64_NUMERIC_LIMITS);
|
PRINT_MACRO(BOOST_NO_MS_INT64_NUMERIC_LIMITS);
|
||||||
PRINT_MACRO(BOOST_NO_OPERATORS_IN_NAMESPACE);
|
PRINT_MACRO(BOOST_NO_OPERATORS_IN_NAMESPACE);
|
||||||
PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_CONST);
|
PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_CONST);
|
||||||
|
PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS);
|
||||||
PRINT_MACRO(BOOST_NO_PRIVATE_IN_AGGREGATE);
|
PRINT_MACRO(BOOST_NO_PRIVATE_IN_AGGREGATE);
|
||||||
PRINT_MACRO(BOOST_NO_SFINAE);
|
PRINT_MACRO(BOOST_NO_SFINAE);
|
||||||
PRINT_MACRO(BOOST_NO_SLIST);
|
PRINT_MACRO(BOOST_NO_STDC_NAMESPACE);
|
||||||
PRINT_MACRO(BOOST_NO_STD_ALLOCATOR);
|
PRINT_MACRO(BOOST_NO_STD_ALLOCATOR);
|
||||||
PRINT_MACRO(BOOST_NO_STD_DISTANCE);
|
PRINT_MACRO(BOOST_NO_STD_DISTANCE);
|
||||||
PRINT_MACRO(BOOST_NO_STD_ITERATOR);
|
PRINT_MACRO(BOOST_NO_STD_ITERATOR);
|
||||||
@ -965,15 +979,22 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_NO_STD_USE_FACET);
|
PRINT_MACRO(BOOST_NO_STD_USE_FACET);
|
||||||
PRINT_MACRO(BOOST_NO_STD_WSTREAMBUF);
|
PRINT_MACRO(BOOST_NO_STD_WSTREAMBUF);
|
||||||
PRINT_MACRO(BOOST_NO_STD_WSTRING);
|
PRINT_MACRO(BOOST_NO_STD_WSTRING);
|
||||||
PRINT_MACRO(BOOST_NO_STDC_NAMESPACE);
|
|
||||||
PRINT_MACRO(BOOST_NO_STRINGSTREAM);
|
PRINT_MACRO(BOOST_NO_STRINGSTREAM);
|
||||||
PRINT_MACRO(BOOST_NO_SWPRINTF);
|
PRINT_MACRO(BOOST_NO_SWPRINTF);
|
||||||
|
PRINT_MACRO(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS);
|
||||||
PRINT_MACRO(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION);
|
PRINT_MACRO(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION);
|
||||||
PRINT_MACRO(BOOST_NO_TEMPLATE_TEMPLATES);
|
PRINT_MACRO(BOOST_NO_TEMPLATE_TEMPLATES);
|
||||||
PRINT_MACRO(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS);
|
|
||||||
PRINT_MACRO(BOOST_NO_UNREACHABLE_RETURN_DETECTION);
|
PRINT_MACRO(BOOST_NO_UNREACHABLE_RETURN_DETECTION);
|
||||||
|
PRINT_MACRO(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE);
|
||||||
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
|
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
|
||||||
PRINT_MACRO(BOOST_NO_VOID_RETURNS);
|
PRINT_MACRO(BOOST_NO_VOID_RETURNS);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// END GENERATED BLOCK
|
||||||
|
|
||||||
|
PRINT_MACRO(BOOST_INTEL);
|
||||||
|
PRINT_MACRO(BOOST_MSVC);
|
||||||
PRINT_MACRO(BOOST_STD_EXTENSION_NAMESPACE);
|
PRINT_MACRO(BOOST_STD_EXTENSION_NAMESPACE);
|
||||||
PRINT_MACRO(BOOST_UNREACHABLE_RETURN(0));
|
PRINT_MACRO(BOOST_UNREACHABLE_RETURN(0));
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// This file was automatically generated on Fri Dec 17 11:13:11 2004
|
// This file was automatically generated on Fri Oct 14 18:38:49 2005
|
||||||
// by libs/config/tools/generate.cpp
|
// by libs/config/tools/generate.cpp
|
||||||
// Copyright John Maddock 2002-4.
|
// Copyright John Maddock 2002-4.
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
@ -315,6 +315,11 @@ namespace boost_has_clock_gettime = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_has_dirent_h = empty_boost;
|
namespace boost_has_dirent_h = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef BOOST_HAS_EXPM1
|
||||||
|
#include "boost_has_expm1.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_expm1 = empty_boost;
|
||||||
|
#endif
|
||||||
#ifdef BOOST_HAS_FTIME
|
#ifdef BOOST_HAS_FTIME
|
||||||
#include "boost_has_ftime.ipp"
|
#include "boost_has_ftime.ipp"
|
||||||
#else
|
#else
|
||||||
@ -330,6 +335,11 @@ namespace boost_has_gettimeofday = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_has_hash = empty_boost;
|
namespace boost_has_hash = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef BOOST_HAS_LOG1P
|
||||||
|
#include "boost_has_log1p.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_log1p = empty_boost;
|
||||||
|
#endif
|
||||||
#ifdef BOOST_HAS_LONG_LONG
|
#ifdef BOOST_HAS_LONG_LONG
|
||||||
#include "boost_has_long_long.ipp"
|
#include "boost_has_long_long.ipp"
|
||||||
#else
|
#else
|
||||||
@ -415,6 +425,91 @@ namespace boost_has_stdint_h = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_has_stlp_use_facet = empty_boost;
|
namespace boost_has_stlp_use_facet = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_ARRAY
|
||||||
|
#include "boost_has_tr1_array.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_array = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_BIND
|
||||||
|
#include "boost_has_tr1_bind.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_bind = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_COMPLEX_OVERLOADS
|
||||||
|
#include "boost_has_tr1_complex_over.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_complex_overloads = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG
|
||||||
|
#include "boost_has_tr1_complex_trig.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_complex_inverse_trig = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_FUNCTION
|
||||||
|
#include "boost_has_tr1_function.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_function = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_HASH
|
||||||
|
#include "boost_has_tr1_hash.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_hash = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_MEM_FN
|
||||||
|
#include "boost_has_tr1_mem_fn.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_mem_fn = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_RANDOM
|
||||||
|
#include "boost_has_tr1_random.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_random = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_REFERENCE_WRAPPER
|
||||||
|
#include "boost_has_tr1_ref_wrap.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_reference_wrapper = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_ARRAY
|
||||||
|
#include "boost_has_tr1_regex.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_array = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_RESULT_OF
|
||||||
|
#include "boost_has_tr1_result_of.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_result_of = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_SHARED_PTR
|
||||||
|
#include "boost_has_tr1_shared_ptr.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_shared_ptr = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_TUPLE
|
||||||
|
#include "boost_has_tr1_tuple.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_tuple = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_TYPE_TRAITS
|
||||||
|
#include "boost_has_tr1_type_traits.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_type_traits = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_UNORDERED_MAP
|
||||||
|
#include "boost_has_tr1_unordered_map.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_unordered_map = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_UNORDERED_SET
|
||||||
|
#include "boost_has_tr1_unordered_set.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_unordered_set = empty_boost;
|
||||||
|
#endif
|
||||||
|
#ifdef BOOST_HAS_TR1_UTILITY
|
||||||
|
#include "boost_has_tr1_utility.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_utility = empty_boost;
|
||||||
|
#endif
|
||||||
#ifdef BOOST_HAS_UNISTD_H
|
#ifdef BOOST_HAS_UNISTD_H
|
||||||
#include "boost_has_unistd_h.ipp"
|
#include "boost_has_unistd_h.ipp"
|
||||||
#else
|
#else
|
||||||
@ -458,6 +553,11 @@ int main( int, char *[] )
|
|||||||
std::cerr << "Failed test for BOOST_HAS_DIRENT_H at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_HAS_DIRENT_H at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
++error_count;
|
++error_count;
|
||||||
}
|
}
|
||||||
|
if(0 != boost_has_expm1::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_EXPM1 at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
if(0 != boost_has_ftime::test())
|
if(0 != boost_has_ftime::test())
|
||||||
{
|
{
|
||||||
std::cerr << "Failed test for BOOST_HAS_FTIME at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_HAS_FTIME at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
@ -473,6 +573,11 @@ int main( int, char *[] )
|
|||||||
std::cerr << "Failed test for BOOST_HAS_HASH at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_HAS_HASH at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
++error_count;
|
++error_count;
|
||||||
}
|
}
|
||||||
|
if(0 != boost_has_log1p::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_LOG1P at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
if(0 != boost_has_long_long::test())
|
if(0 != boost_has_long_long::test())
|
||||||
{
|
{
|
||||||
std::cerr << "Failed test for BOOST_HAS_LONG_LONG at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_HAS_LONG_LONG at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
@ -558,6 +663,91 @@ int main( int, char *[] )
|
|||||||
std::cerr << "Failed test for BOOST_HAS_STLP_USE_FACET at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_HAS_STLP_USE_FACET at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
++error_count;
|
++error_count;
|
||||||
}
|
}
|
||||||
|
if(0 != boost_has_tr1_array::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_ARRAY at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_bind::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_BIND at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_complex_overloads::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_COMPLEX_OVERLOADS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_complex_inverse_trig::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_function::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_FUNCTION at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_hash::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_HASH at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_mem_fn::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_MEM_FN at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_random::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_RANDOM at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_reference_wrapper::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_REFERENCE_WRAPPER at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_array::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_ARRAY at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_result_of::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_RESULT_OF at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_shared_ptr::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_SHARED_PTR at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_tuple::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_TUPLE at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_type_traits::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_TYPE_TRAITS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_unordered_map::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_UNORDERED_MAP at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_unordered_set::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_UNORDERED_SET at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
|
if(0 != boost_has_tr1_utility::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_HAS_TR1_UTILITY at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
if(0 != boost_has_unistd_h::test())
|
if(0 != boost_has_unistd_h::test())
|
||||||
{
|
{
|
||||||
std::cerr << "Failed test for BOOST_HAS_UNISTD_H at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_HAS_UNISTD_H at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
34
test/has_expm1_fail.cpp
Normal file
34
test/has_expm1_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Fri Oct 14 18:38:49 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_EXPM1
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_EXPM1 should be defined.
|
||||||
|
// See file boost_has_expm1.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_EXPM1
|
||||||
|
#include "boost_has_expm1.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_expm1::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_expm1_pass.cpp
Normal file
34
test/has_expm1_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Fri Oct 14 18:38:49 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_EXPM1
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_EXPM1 should not be defined.
|
||||||
|
// See file boost_has_expm1.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_EXPM1
|
||||||
|
#include "boost_has_expm1.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_expm1 = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_expm1::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_log1p_fail.cpp
Normal file
34
test/has_log1p_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Apr 02 11:49:11 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_LOG1P
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_LOG1P should be defined.
|
||||||
|
// See file boost_has_log1p.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_LOG1P
|
||||||
|
#include "boost_has_log1p.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_log1p::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_log1p_pass.cpp
Normal file
34
test/has_log1p_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Apr 02 11:49:11 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_LOG1P
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_LOG1P should not be defined.
|
||||||
|
// See file boost_has_log1p.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_LOG1P
|
||||||
|
#include "boost_has_log1p.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_log1p = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_log1p::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_array_fail.cpp
Normal file
34
test/has_tr1_array_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Feb 19 12:29:54 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_ARRAY
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_ARRAY should be defined.
|
||||||
|
// See file boost_has_tr1_array.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_ARRAY
|
||||||
|
#include "boost_has_tr1_array.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_array::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_array_pass.cpp
Normal file
34
test/has_tr1_array_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Feb 19 12:29:54 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_ARRAY
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_ARRAY should not be defined.
|
||||||
|
// See file boost_has_tr1_array.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_ARRAY
|
||||||
|
#include "boost_has_tr1_array.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_array = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_array::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_bind_fail.cpp
Normal file
34
test/has_tr1_bind_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Mon Jan 24 16:31:49 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_BIND
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_BIND should be defined.
|
||||||
|
// See file boost_has_tr1_bind.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_BIND
|
||||||
|
#include "boost_has_tr1_bind.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_bind::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_bind_pass.cpp
Normal file
34
test/has_tr1_bind_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Mon Jan 24 16:31:49 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_BIND
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_BIND should not be defined.
|
||||||
|
// See file boost_has_tr1_bind.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_BIND
|
||||||
|
#include "boost_has_tr1_bind.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_bind = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_bind::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_complex_over_fail.cpp
Normal file
34
test/has_tr1_complex_over_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Apr 02 11:49:11 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_COMPLEX_OVERLOADS
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_COMPLEX_OVERLOADS should be defined.
|
||||||
|
// See file boost_has_tr1_complex_over.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_COMPLEX_OVERLOADS
|
||||||
|
#include "boost_has_tr1_complex_over.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_complex_overloads::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_complex_over_pass.cpp
Normal file
34
test/has_tr1_complex_over_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Apr 02 11:49:11 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_COMPLEX_OVERLOADS
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_COMPLEX_OVERLOADS should not be defined.
|
||||||
|
// See file boost_has_tr1_complex_over.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_COMPLEX_OVERLOADS
|
||||||
|
#include "boost_has_tr1_complex_over.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_complex_overloads = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_complex_overloads::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_complex_trig_fail.cpp
Normal file
34
test/has_tr1_complex_trig_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Apr 02 11:49:12 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG should be defined.
|
||||||
|
// See file boost_has_tr1_complex_trig.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG
|
||||||
|
#include "boost_has_tr1_complex_trig.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_complex_inverse_trig::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_complex_trig_pass.cpp
Normal file
34
test/has_tr1_complex_trig_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Apr 02 11:49:12 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG should not be defined.
|
||||||
|
// See file boost_has_tr1_complex_trig.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG
|
||||||
|
#include "boost_has_tr1_complex_trig.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_complex_inverse_trig = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_complex_inverse_trig::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_function_fail.cpp
Normal file
34
test/has_tr1_function_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Tue Jan 25 15:52:52 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_FUNCTION
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_FUNCTION should be defined.
|
||||||
|
// See file boost_has_tr1_function.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_FUNCTION
|
||||||
|
#include "boost_has_tr1_function.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_function::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_function_pass.cpp
Normal file
34
test/has_tr1_function_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Tue Jan 25 15:52:52 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_FUNCTION
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_FUNCTION should not be defined.
|
||||||
|
// See file boost_has_tr1_function.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_FUNCTION
|
||||||
|
#include "boost_has_tr1_function.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_function = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_function::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_hash_fail.cpp
Normal file
34
test/has_tr1_hash_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Feb 19 12:29:55 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_HASH
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_HASH should be defined.
|
||||||
|
// See file boost_has_tr1_hash.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_HASH
|
||||||
|
#include "boost_has_tr1_hash.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_hash::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_hash_pass.cpp
Normal file
34
test/has_tr1_hash_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Feb 19 12:29:55 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_HASH
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_HASH should not be defined.
|
||||||
|
// See file boost_has_tr1_hash.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_HASH
|
||||||
|
#include "boost_has_tr1_hash.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_hash = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_hash::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_mem_fn_fail.cpp
Normal file
34
test/has_tr1_mem_fn_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Mon Jan 24 16:31:49 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_MEM_FN
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_MEM_FN should be defined.
|
||||||
|
// See file boost_has_tr1_mem_fn.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_MEM_FN
|
||||||
|
#include "boost_has_tr1_mem_fn.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_mem_fn::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_mem_fn_pass.cpp
Normal file
34
test/has_tr1_mem_fn_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Mon Jan 24 16:31:49 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_MEM_FN
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_MEM_FN should not be defined.
|
||||||
|
// See file boost_has_tr1_mem_fn.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_MEM_FN
|
||||||
|
#include "boost_has_tr1_mem_fn.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_mem_fn = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_mem_fn::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_random_fail.cpp
Normal file
34
test/has_tr1_random_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Tue Feb 15 17:34:12 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_RANDOM
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_RANDOM should be defined.
|
||||||
|
// See file boost_has_tr1_random.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_RANDOM
|
||||||
|
#include "boost_has_tr1_random.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_random::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_random_pass.cpp
Normal file
34
test/has_tr1_random_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Tue Feb 15 17:34:12 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_RANDOM
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_RANDOM should not be defined.
|
||||||
|
// See file boost_has_tr1_random.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_RANDOM
|
||||||
|
#include "boost_has_tr1_random.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_random = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_random::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_ref_wrap_fail.cpp
Normal file
34
test/has_tr1_ref_wrap_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sun Jan 16 16:06:37 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_REFERENCE_WRAPPER
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_REFERENCE_WRAPPER should be defined.
|
||||||
|
// See file boost_has_tr1_ref_wrap.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_REFERENCE_WRAPPER
|
||||||
|
#include "boost_has_tr1_ref_wrap.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_reference_wrapper::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_ref_wrap_pass.cpp
Normal file
34
test/has_tr1_ref_wrap_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sun Jan 16 16:06:37 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_REFERENCE_WRAPPER
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_REFERENCE_WRAPPER should not be defined.
|
||||||
|
// See file boost_has_tr1_ref_wrap.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_REFERENCE_WRAPPER
|
||||||
|
#include "boost_has_tr1_ref_wrap.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_reference_wrapper = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_reference_wrapper::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_regex_fail.cpp
Normal file
34
test/has_tr1_regex_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Apr 02 11:49:12 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_ARRAY
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_ARRAY should be defined.
|
||||||
|
// See file boost_has_tr1_regex.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_ARRAY
|
||||||
|
#include "boost_has_tr1_regex.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_array::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_regex_pass.cpp
Normal file
34
test/has_tr1_regex_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Apr 02 11:49:12 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_ARRAY
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_ARRAY should not be defined.
|
||||||
|
// See file boost_has_tr1_regex.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_ARRAY
|
||||||
|
#include "boost_has_tr1_regex.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_array = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_array::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_result_of_fail.cpp
Normal file
34
test/has_tr1_result_of_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Mon Jan 24 16:31:49 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_RESULT_OF
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_RESULT_OF should be defined.
|
||||||
|
// See file boost_has_tr1_result_of.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_RESULT_OF
|
||||||
|
#include "boost_has_tr1_result_of.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_result_of::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_result_of_pass.cpp
Normal file
34
test/has_tr1_result_of_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Mon Jan 24 16:31:49 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_RESULT_OF
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_RESULT_OF should not be defined.
|
||||||
|
// See file boost_has_tr1_result_of.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_RESULT_OF
|
||||||
|
#include "boost_has_tr1_result_of.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_result_of = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_result_of::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_shared_ptr_fail.cpp
Normal file
34
test/has_tr1_shared_ptr_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Mon Jan 17 10:49:50 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_SHARED_PTR
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_SHARED_PTR should be defined.
|
||||||
|
// See file boost_has_tr1_shared_ptr.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_SHARED_PTR
|
||||||
|
#include "boost_has_tr1_shared_ptr.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_shared_ptr::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_shared_ptr_pass.cpp
Normal file
34
test/has_tr1_shared_ptr_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Mon Jan 17 10:49:50 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_SHARED_PTR
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_SHARED_PTR should not be defined.
|
||||||
|
// See file boost_has_tr1_shared_ptr.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_SHARED_PTR
|
||||||
|
#include "boost_has_tr1_shared_ptr.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_shared_ptr = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_shared_ptr::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_tuple_fail.cpp
Normal file
34
test/has_tr1_tuple_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Tue Feb 15 17:34:12 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_TUPLE
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_TUPLE should be defined.
|
||||||
|
// See file boost_has_tr1_tuple.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_TUPLE
|
||||||
|
#include "boost_has_tr1_tuple.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_tuple::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_tuple_pass.cpp
Normal file
34
test/has_tr1_tuple_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Tue Feb 15 17:34:12 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_TUPLE
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_TUPLE should not be defined.
|
||||||
|
// See file boost_has_tr1_tuple.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_TUPLE
|
||||||
|
#include "boost_has_tr1_tuple.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_tuple = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_tuple::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_type_traits_fail.cpp
Normal file
34
test/has_tr1_type_traits_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Tue Feb 15 17:34:12 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_TYPE_TRAITS
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_TYPE_TRAITS should be defined.
|
||||||
|
// See file boost_has_tr1_type_traits.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_TYPE_TRAITS
|
||||||
|
#include "boost_has_tr1_type_traits.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_type_traits::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_type_traits_pass.cpp
Normal file
34
test/has_tr1_type_traits_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Tue Feb 15 17:34:12 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_TYPE_TRAITS
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_TYPE_TRAITS should not be defined.
|
||||||
|
// See file boost_has_tr1_type_traits.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_TYPE_TRAITS
|
||||||
|
#include "boost_has_tr1_type_traits.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_type_traits = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_type_traits::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_unordered_map_fail.cpp
Normal file
34
test/has_tr1_unordered_map_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Feb 19 12:29:55 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_UNORDERED_MAP
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_UNORDERED_MAP should be defined.
|
||||||
|
// See file boost_has_tr1_unordered_map.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_UNORDERED_MAP
|
||||||
|
#include "boost_has_tr1_unordered_map.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_unordered_map::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_unordered_map_pass.cpp
Normal file
34
test/has_tr1_unordered_map_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Feb 19 12:29:55 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_UNORDERED_MAP
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_UNORDERED_MAP should not be defined.
|
||||||
|
// See file boost_has_tr1_unordered_map.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_UNORDERED_MAP
|
||||||
|
#include "boost_has_tr1_unordered_map.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_unordered_map = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_unordered_map::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_unordered_set_fail.cpp
Normal file
34
test/has_tr1_unordered_set_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Feb 19 12:29:55 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_UNORDERED_SET
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_UNORDERED_SET should be defined.
|
||||||
|
// See file boost_has_tr1_unordered_set.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_UNORDERED_SET
|
||||||
|
#include "boost_has_tr1_unordered_set.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_unordered_set::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_unordered_set_pass.cpp
Normal file
34
test/has_tr1_unordered_set_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Sat Feb 19 12:29:55 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_UNORDERED_SET
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_UNORDERED_SET should not be defined.
|
||||||
|
// See file boost_has_tr1_unordered_set.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_UNORDERED_SET
|
||||||
|
#include "boost_has_tr1_unordered_set.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_unordered_set = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_unordered_set::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_utility_fail.cpp
Normal file
34
test/has_tr1_utility_fail.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Tue Feb 15 17:34:13 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_UTILITY
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_HAS_TR1_UTILITY should be defined.
|
||||||
|
// See file boost_has_tr1_utility.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_HAS_TR1_UTILITY
|
||||||
|
#include "boost_has_tr1_utility.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_utility::test();
|
||||||
|
}
|
||||||
|
|
34
test/has_tr1_utility_pass.cpp
Normal file
34
test/has_tr1_utility_pass.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// This file was automatically generated on Tue Feb 15 17:34:13 2005
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_HAS_TR1_UTILITY
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_HAS_TR1_UTILITY should not be defined.
|
||||||
|
// See file boost_has_tr1_utility.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_TR1_UTILITY
|
||||||
|
#include "boost_has_tr1_utility.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_has_tr1_utility = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_has_tr1_utility::test();
|
||||||
|
}
|
||||||
|
|
@ -17,6 +17,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <set>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
|
||||||
namespace fs = boost::filesystem;
|
namespace fs = boost::filesystem;
|
||||||
@ -35,6 +36,38 @@ std::stringstream config_test1;
|
|||||||
std::stringstream config_test1a;
|
std::stringstream config_test1a;
|
||||||
std::stringstream config_test2;
|
std::stringstream config_test2;
|
||||||
std::stringstream jamfile;
|
std::stringstream jamfile;
|
||||||
|
std::set<std::string> macro_list;
|
||||||
|
|
||||||
|
|
||||||
|
void write_config_info()
|
||||||
|
{
|
||||||
|
// load the file into memory so we can scan it:
|
||||||
|
fs::ifstream ifs(config_path / "config_info.cpp");
|
||||||
|
std::string file_text;
|
||||||
|
std::copy(std::istreambuf_iterator<char>(ifs), std::istreambuf_iterator<char>(), std::back_inserter(file_text));
|
||||||
|
ifs.close();
|
||||||
|
// create macro list:
|
||||||
|
std::stringstream ss;
|
||||||
|
for(std::set<std::string>::const_iterator i(macro_list.begin()), j(macro_list.end());
|
||||||
|
i != j;
|
||||||
|
++i)
|
||||||
|
{
|
||||||
|
ss << " PRINT_MACRO(" << *i << ");\n";
|
||||||
|
}
|
||||||
|
std::string macros = ss.str();
|
||||||
|
// scan for Boost macro block:
|
||||||
|
boost::regex re("BEGIN\\s+GENERATED\\s+BLOCK\\s+DO\\s+NOT\\s+EDIT\\s+THIS[^\\n]+\\n(.*?)\\n\\s+//\\s*END\\s+GENERATED\\s+BLOCK");
|
||||||
|
boost::smatch what;
|
||||||
|
if(boost::regex_search(file_text, what, re))
|
||||||
|
{
|
||||||
|
std::string new_text;
|
||||||
|
new_text.append(what.prefix().first, what[1].first);
|
||||||
|
new_text.append(macros);
|
||||||
|
new_text.append(what[1].second, what.suffix().second);
|
||||||
|
fs::ofstream ofs(config_path / "config_info.cpp");
|
||||||
|
ofs << new_text;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void write_config_test()
|
void write_config_test()
|
||||||
{
|
{
|
||||||
@ -158,6 +191,7 @@ void process_ipp_file(const fs::path& file, bool positive_test)
|
|||||||
if(boost::regex_search(file_text, macro_match, macro_regex))
|
if(boost::regex_search(file_text, macro_match, macro_regex))
|
||||||
{
|
{
|
||||||
macro_name = macro_match[1];
|
macro_name = macro_match[1];
|
||||||
|
macro_list.insert(macro_name);
|
||||||
namespace_name = boost::regex_replace(file_text, macro_regex, "\\L$1", boost::format_first_only | boost::format_no_copy);
|
namespace_name = boost::regex_replace(file_text, macro_regex, "\\L$1", boost::format_first_only | boost::format_no_copy);
|
||||||
}
|
}
|
||||||
if(macro_name.empty())
|
if(macro_name.empty())
|
||||||
@ -232,5 +266,6 @@ int cpp_main(int argc, char* argv[])
|
|||||||
}
|
}
|
||||||
write_config_test();
|
write_config_test();
|
||||||
write_jamfile();
|
write_jamfile();
|
||||||
|
write_config_info();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Reference in New Issue
Block a user