mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-02 06:15:23 +02:00
Updated tests and jamfiles to reflect the changed testing headers location.
This commit is contained in:
@@ -11,6 +11,11 @@
|
|||||||
|
|
||||||
import testing ;
|
import testing ;
|
||||||
|
|
||||||
|
project
|
||||||
|
: requirements
|
||||||
|
<include>.
|
||||||
|
;
|
||||||
|
|
||||||
compile aux_/largest_int.cpp ;
|
compile aux_/largest_int.cpp ;
|
||||||
|
|
||||||
compile arithmetic.cpp ;
|
compile arithmetic.cpp ;
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/arithmetic.hpp>
|
#include <boost/mpl/arithmetic.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -12,9 +12,8 @@
|
|||||||
// $Revision$
|
// $Revision$
|
||||||
|
|
||||||
#include <boost/mpl/aux_/largest_int.hpp>
|
#include <boost/mpl/aux_/largest_int.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/bitwise.hpp>
|
#include <boost/mpl/bitwise.hpp>
|
||||||
#include <boost/mpl/integral_c.hpp>
|
#include <boost/mpl/integral_c.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
typedef integral_c<unsigned int, 0> _0;
|
typedef integral_c<unsigned int, 0> _0;
|
||||||
typedef integral_c<unsigned int, 1> _1;
|
typedef integral_c<unsigned int, 1> _1;
|
||||||
|
@@ -12,8 +12,8 @@
|
|||||||
// $Revision$
|
// $Revision$
|
||||||
|
|
||||||
#include <boost/mpl/bool.hpp>
|
#include <boost/mpl/bool.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/comparison.hpp>
|
#include <boost/mpl/comparison.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
// make sure MSVC behaves nicely in presence of the following template
|
// make sure MSVC behaves nicely in presence of the following template
|
||||||
template< typename T > struct value {};
|
template< typename T > struct value {};
|
||||||
|
@@ -14,10 +14,8 @@
|
|||||||
#include <boost/mpl/eval_if.hpp>
|
#include <boost/mpl/eval_if.hpp>
|
||||||
#include <boost/mpl/bool.hpp>
|
#include <boost/mpl/bool.hpp>
|
||||||
#include <boost/mpl/identity.hpp>
|
#include <boost/mpl/identity.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/has_xxx.hpp>
|
#include <boost/mpl/has_xxx.hpp>
|
||||||
#include <boost/mpl/aux_/config/workaround.hpp>
|
#include <boost/mpl/aux_/config/workaround.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
BOOST_MPL_HAS_XXX_TRAIT_DEF(xxx)
|
BOOST_MPL_HAS_XXX_TRAIT_DEF(xxx)
|
||||||
BOOST_MPL_HAS_XXX_TEMPLATE_NAMED_DEF(has_xxx_template, xxx, false)
|
BOOST_MPL_HAS_XXX_TEMPLATE_NAMED_DEF(has_xxx_template, xxx, false)
|
||||||
|
@@ -13,8 +13,8 @@
|
|||||||
|
|
||||||
#include <boost/mpl/apply.hpp>
|
#include <boost/mpl/apply.hpp>
|
||||||
#include <boost/mpl/identity.hpp>
|
#include <boost/mpl/identity.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -13,8 +13,8 @@
|
|||||||
|
|
||||||
#include <boost/mpl/if.hpp>
|
#include <boost/mpl/if.hpp>
|
||||||
#include <boost/mpl/bool.hpp>
|
#include <boost/mpl/bool.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -12,9 +12,9 @@
|
|||||||
// $Revision$
|
// $Revision$
|
||||||
|
|
||||||
#include <boost/mpl/next_prior.hpp>
|
#include <boost/mpl/next_prior.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/mpl/aux_/config/workaround.hpp>
|
#include <boost/mpl/aux_/config/workaround.hpp>
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/logical.hpp>
|
#include <boost/mpl/logical.hpp>
|
||||||
#include <boost/mpl/bool.hpp>
|
#include <boost/mpl/bool.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
struct unknown;
|
struct unknown;
|
||||||
|
|
||||||
|
@@ -13,10 +13,8 @@
|
|||||||
|
|
||||||
#include <boost/mpl/min_max.hpp>
|
#include <boost/mpl/min_max.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
#include <boost/mpl/and.hpp>
|
#include <boost/mpl/and.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
#include <boost/mpl/long.hpp>
|
#include <boost/mpl/long.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
struct complex_tag : int_<10> {};
|
struct complex_tag : int_<10> {};
|
||||||
|
|
||||||
|
@@ -12,9 +12,7 @@
|
|||||||
// $Revision$
|
// $Revision$
|
||||||
|
|
||||||
#include <boost/mpl/print.hpp>
|
#include <boost/mpl/print.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
// $Revision$
|
// $Revision$
|
||||||
|
|
||||||
#include <boost/mpl/sizeof.hpp>
|
#include <boost/mpl/sizeof.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
struct my
|
struct my
|
||||||
{
|
{
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
#ifndef BOOST_MPL_AUX_TEST_HPP_INCLUDED
|
#ifndef BOOST_MPL_TEST_TEST_HPP_INCLUDED
|
||||||
#define BOOST_MPL_AUX_TEST_HPP_INCLUDED
|
#define BOOST_MPL_TEST_TEST_HPP_INCLUDED
|
||||||
|
|
||||||
// Copyright Aleksey Gurtovoy 2002-2004
|
// Copyright Aleksey Gurtovoy 2002-2004
|
||||||
//
|
//
|
||||||
@@ -14,9 +14,9 @@
|
|||||||
// $Date$
|
// $Date$
|
||||||
// $Revision$
|
// $Revision$
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test/test_case.hpp>
|
#include "test/test_case.hpp"
|
||||||
#include <boost/mpl/aux_/test/data.hpp>
|
#include "test/data.hpp"
|
||||||
#include <boost/mpl/aux_/test/assert.hpp>
|
#include "test/assert.hpp"
|
||||||
#include <boost/core/lightweight_test.hpp>
|
#include <boost/core/lightweight_test.hpp>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
@@ -27,4 +27,4 @@ int main()
|
|||||||
using namespace boost;
|
using namespace boost;
|
||||||
using namespace mpl;
|
using namespace mpl;
|
||||||
|
|
||||||
#endif // BOOST_MPL_AUX_TEST_HPP_INCLUDED
|
#endif // BOOST_MPL_TEST_TEST_HPP_INCLUDED
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
#ifndef BOOST_MPL_AUX_TEST_ASSERT_HPP_INCLUDED
|
#ifndef BOOST_MPL_TEST_TEST_ASSERT_HPP_INCLUDED
|
||||||
#define BOOST_MPL_AUX_TEST_ASSERT_HPP_INCLUDED
|
#define BOOST_MPL_TEST_TEST_ASSERT_HPP_INCLUDED
|
||||||
|
|
||||||
// Copyright Aleksey Gurtovoy 2002-2004
|
// Copyright Aleksey Gurtovoy 2002-2004
|
||||||
//
|
//
|
||||||
@@ -26,4 +26,4 @@
|
|||||||
enum { BOOST_PP_CAT(instantiation_test, __LINE__) = sizeof( x ) } \
|
enum { BOOST_PP_CAT(instantiation_test, __LINE__) = sizeof( x ) } \
|
||||||
/**/
|
/**/
|
||||||
|
|
||||||
#endif // BOOST_MPL_AUX_TEST_ASSERT_HPP_INCLUDED
|
#endif // BOOST_MPL_TEST_TEST_ASSERT_HPP_INCLUDED
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
#ifndef BOOST_MPL_AUX_TEST_DATA_HPP_INCLUDED
|
#ifndef BOOST_MPL_TEST_TEST_DATA_HPP_INCLUDED
|
||||||
#define BOOST_MPL_AUX_TEST_DATA_HPP_INCLUDED
|
#define BOOST_MPL_TEST_TEST_DATA_HPP_INCLUDED
|
||||||
|
|
||||||
// Copyright Aleksey Gurtovoy 2002-2004
|
// Copyright Aleksey Gurtovoy 2002-2004
|
||||||
//
|
//
|
||||||
@@ -22,4 +22,4 @@ struct incomplete;
|
|||||||
class abstract { public: virtual ~abstract() = 0; };
|
class abstract { public: virtual ~abstract() = 0; };
|
||||||
using boost::noncopyable;
|
using boost::noncopyable;
|
||||||
|
|
||||||
#endif // BOOST_MPL_AUX_TEST_DATA_HPP_INCLUDED
|
#endif // BOOST_MPL_TEST_TEST_DATA_HPP_INCLUDED
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
#ifndef BOOST_MPL_AUX_TEST_TEST_CASE_HPP_INCLUDED
|
#ifndef BOOST_MPL_TEST_TEST_TEST_CASE_HPP_INCLUDED
|
||||||
#define BOOST_MPL_AUX_TEST_TEST_CASE_HPP_INCLUDED
|
#define BOOST_MPL_TEST_TEST_TEST_CASE_HPP_INCLUDED
|
||||||
|
|
||||||
// Copyright Aleksey Gurtovoy 2002-2004
|
// Copyright Aleksey Gurtovoy 2002-2004
|
||||||
//
|
//
|
||||||
@@ -18,4 +18,4 @@
|
|||||||
|
|
||||||
#define MPL_TEST_CASE() void BOOST_PP_CAT(test,__LINE__)()
|
#define MPL_TEST_CASE() void BOOST_PP_CAT(test,__LINE__)()
|
||||||
|
|
||||||
#endif // BOOST_MPL_AUX_TEST_TEST_CASE_HPP_INCLUDED
|
#endif // BOOST_MPL_TEST_TEST_TEST_CASE_HPP_INCLUDED
|
||||||
|
@@ -11,6 +11,11 @@
|
|||||||
|
|
||||||
import testing ;
|
import testing ;
|
||||||
|
|
||||||
|
project
|
||||||
|
: requirements
|
||||||
|
<include>../core/test
|
||||||
|
;
|
||||||
|
|
||||||
compile aux_/msvc_is_class.cpp ;
|
compile aux_/msvc_is_class.cpp ;
|
||||||
compile aux_/template_arity.cpp ;
|
compile aux_/template_arity.cpp ;
|
||||||
compile aux_/preprocessor/is_seq.cpp ;
|
compile aux_/preprocessor/is_seq.cpp ;
|
||||||
|
@@ -13,10 +13,10 @@
|
|||||||
|
|
||||||
#include <boost/mpl/advance.hpp>
|
#include <boost/mpl/advance.hpp>
|
||||||
#include <boost/mpl/iterator_tags.hpp>
|
#include <boost/mpl/iterator_tags.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
template< int pos > struct iter
|
template< int pos > struct iter
|
||||||
{
|
{
|
||||||
typedef mpl::bidirectional_iterator_tag category;
|
typedef mpl::bidirectional_iterator_tag category;
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
#include <boost/mpl/bool.hpp>
|
#include <boost/mpl/bool.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -15,9 +15,9 @@
|
|||||||
#include <boost/mpl/lambda.hpp>
|
#include <boost/mpl/lambda.hpp>
|
||||||
#include <boost/mpl/plus.hpp>
|
#include <boost/mpl/plus.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
|
||||||
template< typename T > struct std_vector
|
template< typename T > struct std_vector
|
||||||
|
@@ -15,7 +15,6 @@
|
|||||||
#include <boost/mpl/limits/arity.hpp>
|
#include <boost/mpl/limits/arity.hpp>
|
||||||
#include <boost/mpl/aux_/preprocessor/params.hpp>
|
#include <boost/mpl/aux_/preprocessor/params.hpp>
|
||||||
#include <boost/mpl/aux_/preprocessor/enum.hpp>
|
#include <boost/mpl/aux_/preprocessor/enum.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
#include <boost/preprocessor/repeat.hpp>
|
#include <boost/preprocessor/repeat.hpp>
|
||||||
@@ -24,6 +23,8 @@
|
|||||||
#include <boost/preprocessor/if.hpp>
|
#include <boost/preprocessor/if.hpp>
|
||||||
#include <boost/preprocessor/cat.hpp>
|
#include <boost/preprocessor/cat.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
#if !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)
|
#if !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)
|
||||||
# define APPLY_0_FUNC_DEF(i) \
|
# define APPLY_0_FUNC_DEF(i) \
|
||||||
struct f0 \
|
struct f0 \
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/as_sequence.hpp>
|
#include <boost/mpl/as_sequence.hpp>
|
||||||
#include <boost/mpl/vector.hpp>
|
#include <boost/mpl/vector.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -13,8 +13,8 @@
|
|||||||
|
|
||||||
#include <boost/mpl/at.hpp>
|
#include <boost/mpl/at.hpp>
|
||||||
#include <boost/mpl/vector/vector10_c.hpp>
|
#include <boost/mpl/vector/vector10_c.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
template< typename Seq, int n > struct at_test
|
template< typename Seq, int n > struct at_test
|
||||||
{
|
{
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1200)
|
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1200)
|
||||||
|
|
||||||
#include <boost/mpl/aux_/msvc_is_class.hpp>
|
#include <boost/mpl/aux_/msvc_is_class.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
template< typename T > struct A { T x[0]; };
|
template< typename T > struct A { T x[0]; };
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
// $Revision$
|
// $Revision$
|
||||||
|
|
||||||
#include <boost/mpl/aux_/template_arity.hpp>
|
#include <boost/mpl/aux_/template_arity.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
#if defined(BOOST_EXTENDED_TEMPLATE_PARAMETERS_MATCHING)
|
#if defined(BOOST_EXTENDED_TEMPLATE_PARAMETERS_MATCHING)
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/back.hpp>
|
#include <boost/mpl/back.hpp>
|
||||||
#include <boost/mpl/range_c.hpp>
|
#include <boost/mpl/range_c.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
template< typename Seq, int value > struct back_test
|
template< typename Seq, int value > struct back_test
|
||||||
{
|
{
|
||||||
|
@@ -18,11 +18,12 @@
|
|||||||
#include <boost/mpl/next.hpp>
|
#include <boost/mpl/next.hpp>
|
||||||
#include <boost/mpl/bool.hpp>
|
#include <boost/mpl/bool.hpp>
|
||||||
#include <boost/mpl/apply_wrap.hpp>
|
#include <boost/mpl/apply_wrap.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_float.hpp>
|
#include <boost/type_traits/is_float.hpp>
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
struct f1
|
struct f1
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/contains.hpp>
|
#include <boost/mpl/contains.hpp>
|
||||||
#include <boost/mpl/vector.hpp>
|
#include <boost/mpl/vector.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
#include <boost/mpl/pop_back_fwd.hpp>
|
#include <boost/mpl/pop_back_fwd.hpp>
|
||||||
#include <boost/mpl/back_fwd.hpp>
|
#include <boost/mpl/back_fwd.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/type_traits/is_float.hpp>
|
#include <boost/type_traits/is_float.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
#include <boost/mpl/vector.hpp>
|
#include <boost/mpl/vector.hpp>
|
||||||
#include <boost/mpl/vector_c.hpp>
|
#include <boost/mpl/vector_c.hpp>
|
||||||
#include <boost/mpl/integral_c.hpp>
|
#include <boost/mpl/integral_c.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -16,11 +16,12 @@
|
|||||||
#include <boost/mpl/vector_c.hpp>
|
#include <boost/mpl/vector_c.hpp>
|
||||||
#include <boost/mpl/comparison.hpp>
|
#include <boost/mpl/comparison.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_float.hpp>
|
#include <boost/type_traits/is_float.hpp>
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
typedef vector<int,char&,long,short,char&,long,double,long> types;
|
typedef vector<int,char&,long,short,char&,long,double,long> types;
|
||||||
|
@@ -21,9 +21,8 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/empty.hpp>
|
#include <boost/mpl/empty.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
#include <boost/mpl/list.hpp>
|
#include <boost/mpl/list.hpp>
|
||||||
#include <boost/mpl/range_c.hpp>
|
#include <boost/mpl/range_c.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#include <boost/mpl/empty.hpp>
|
#include <boost/mpl/empty.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/list/list10.hpp>
|
#include <boost/mpl/list/list10.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -17,10 +17,10 @@
|
|||||||
#include <boost/mpl/distance.hpp>
|
#include <boost/mpl/distance.hpp>
|
||||||
#include <boost/mpl/advance.hpp>
|
#include <boost/mpl/advance.hpp>
|
||||||
#include <boost/mpl/begin_end.hpp>
|
#include <boost/mpl/begin_end.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
#include <boost/type_traits/add_pointer.hpp>
|
#include <boost/type_traits/add_pointer.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#include <boost/mpl/equal.hpp>
|
#include <boost/mpl/equal.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/list.hpp>
|
#include <boost/mpl/list.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -18,9 +18,9 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/integral_c.hpp>
|
#include <boost/mpl/integral_c.hpp>
|
||||||
#include <boost/mpl/begin_end.hpp>
|
#include <boost/mpl/begin_end.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -16,8 +16,8 @@
|
|||||||
#include <boost/mpl/find.hpp>
|
#include <boost/mpl/find.hpp>
|
||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/begin_end.hpp>
|
#include <boost/mpl/begin_end.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -18,10 +18,10 @@
|
|||||||
#include <boost/mpl/list.hpp>
|
#include <boost/mpl/list.hpp>
|
||||||
#include <boost/mpl/sizeof.hpp>
|
#include <boost/mpl/sizeof.hpp>
|
||||||
#include <boost/mpl/deref.hpp>
|
#include <boost/mpl/deref.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_float.hpp>
|
#include <boost/type_traits/is_float.hpp>
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -17,8 +17,8 @@
|
|||||||
#include <boost/mpl/distance.hpp>
|
#include <boost/mpl/distance.hpp>
|
||||||
#include <boost/mpl/begin_end.hpp>
|
#include <boost/mpl/begin_end.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -16,11 +16,12 @@
|
|||||||
#include <boost/mpl/vector.hpp>
|
#include <boost/mpl/vector.hpp>
|
||||||
#include <boost/mpl/distance.hpp>
|
#include <boost/mpl/distance.hpp>
|
||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_float.hpp>
|
#include <boost/type_traits/is_float.hpp>
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
typedef vector<int,char,long,short,char,long,double,float,char>::type types;
|
typedef vector<int,char,long,short,char,long,double,float,char>::type types;
|
||||||
typedef begin<types>::type first_;
|
typedef begin<types>::type first_;
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/type_traits/is_float.hpp>
|
#include <boost/type_traits/is_float.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/front.hpp>
|
#include <boost/mpl/front.hpp>
|
||||||
#include <boost/mpl/range_c.hpp>
|
#include <boost/mpl/range_c.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
template< typename Seq, int value > struct front_test
|
template< typename Seq, int value > struct front_test
|
||||||
{
|
{
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
#include <boost/mpl/index_of.hpp>
|
#include <boost/mpl/index_of.hpp>
|
||||||
#include <boost/mpl/list.hpp>
|
#include <boost/mpl/list.hpp>
|
||||||
#include <boost/mpl/void.hpp>
|
#include <boost/mpl/void.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -12,8 +12,8 @@
|
|||||||
// $Revision$
|
// $Revision$
|
||||||
|
|
||||||
#include <boost/mpl/inherit.hpp>
|
#include <boost/mpl/inherit.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
struct her { typedef her herself; };
|
struct her { typedef her herself; };
|
||||||
struct my { typedef my myself; };
|
struct my { typedef my myself; };
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/range_c.hpp>
|
#include <boost/mpl/range_c.hpp>
|
||||||
#include <boost/mpl/equal.hpp>
|
#include <boost/mpl/equal.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
#include <boost/mpl/range_c.hpp>
|
#include <boost/mpl/range_c.hpp>
|
||||||
#include <boost/mpl/equal.hpp>
|
#include <boost/mpl/equal.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -13,12 +13,12 @@
|
|||||||
|
|
||||||
#include <boost/mpl/is_placeholder.hpp>
|
#include <boost/mpl/is_placeholder.hpp>
|
||||||
#include <boost/mpl/placeholders.hpp>
|
#include <boost/mpl/placeholders.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/preprocessor/repeat.hpp>
|
#include <boost/preprocessor/repeat.hpp>
|
||||||
#include <boost/preprocessor/inc.hpp>
|
#include <boost/preprocessor/inc.hpp>
|
||||||
#include <boost/preprocessor/cat.hpp>
|
#include <boost/preprocessor/cat.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
#define AUX_IS_PLACEHOLDER_TEST(unused1, n, unused2) \
|
#define AUX_IS_PLACEHOLDER_TEST(unused1, n, unused2) \
|
||||||
{ MPL_ASSERT(( is_placeholder< \
|
{ MPL_ASSERT(( is_placeholder< \
|
||||||
BOOST_PP_CAT(_,BOOST_PP_INC(n)) \
|
BOOST_PP_CAT(_,BOOST_PP_INC(n)) \
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
#include <boost/mpl/list.hpp>
|
#include <boost/mpl/list.hpp>
|
||||||
#include <boost/mpl/vector.hpp>
|
#include <boost/mpl/vector.hpp>
|
||||||
#include <boost/mpl/range_c.hpp>
|
#include <boost/mpl/range_c.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
template< typename T > struct std_vector
|
template< typename T > struct std_vector
|
||||||
{
|
{
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#include <boost/mpl/iterator_tags.hpp>
|
#include <boost/mpl/iterator_tags.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/less.hpp>
|
#include <boost/mpl/less.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -17,10 +17,9 @@
|
|||||||
#include <boost/mpl/list.hpp>
|
#include <boost/mpl/list.hpp>
|
||||||
#include <boost/mpl/equal.hpp>
|
#include <boost/mpl/equal.hpp>
|
||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -20,10 +20,9 @@
|
|||||||
#include <boost/mpl/sizeof.hpp>
|
#include <boost/mpl/sizeof.hpp>
|
||||||
#include <boost/mpl/apply.hpp>
|
#include <boost/mpl/apply.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
#include <boost/type_traits/is_float.hpp>
|
#include <boost/type_traits/is_float.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
struct my
|
struct my
|
||||||
{
|
{
|
||||||
|
@@ -13,11 +13,11 @@
|
|||||||
|
|
||||||
#include <boost/mpl/lambda.hpp>
|
#include <boost/mpl/lambda.hpp>
|
||||||
#include <boost/mpl/apply.hpp>
|
#include <boost/mpl/apply.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/mpl/aux_/config/gcc.hpp>
|
#include <boost/mpl/aux_/config/gcc.hpp>
|
||||||
#include <boost/mpl/aux_/config/workaround.hpp>
|
#include <boost/mpl/aux_/config/workaround.hpp>
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
typedef int UDT::* mem_ptr;
|
typedef int UDT::* mem_ptr;
|
||||||
typedef int (UDT::* mem_fun_ptr)();
|
typedef int (UDT::* mem_fun_ptr)();
|
||||||
|
@@ -18,9 +18,8 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/empty.hpp>
|
#include <boost/mpl/empty.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/static_assert.hpp>
|
#include <boost/static_assert.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
#include <boost/mpl/list_c.hpp>
|
#include <boost/mpl/list_c.hpp>
|
||||||
#include <boost/mpl/less.hpp>
|
#include <boost/mpl/less.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
#include <boost/mpl/begin_end.hpp>
|
#include <boost/mpl/begin_end.hpp>
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#include <boost/mpl/max_element.hpp>
|
#include <boost/mpl/max_element.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/list_c.hpp>
|
#include <boost/mpl/list_c.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
#include <boost/mpl/insert.hpp>
|
#include <boost/mpl/insert.hpp>
|
||||||
#include <boost/mpl/count.hpp>
|
#include <boost/mpl/count.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/mpl/assert.hpp>
|
#include <boost/mpl/assert.hpp>
|
||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
@@ -24,6 +23,7 @@
|
|||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
struct test_data1
|
struct test_data1
|
||||||
|
@@ -14,8 +14,8 @@
|
|||||||
#include <boost/mpl/next.hpp>
|
#include <boost/mpl/next.hpp>
|
||||||
#include <boost/mpl/prior.hpp>
|
#include <boost/mpl/prior.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -16,8 +16,8 @@
|
|||||||
#include <boost/mpl/vector/vector50_c.hpp>
|
#include <boost/mpl/vector/vector50_c.hpp>
|
||||||
#include <boost/mpl/range_c.hpp>
|
#include <boost/mpl/range_c.hpp>
|
||||||
#include <boost/mpl/distance.hpp>
|
#include <boost/mpl/distance.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
|
@@ -19,7 +19,8 @@
|
|||||||
#include <boost/mpl/equal.hpp>
|
#include <boost/mpl/equal.hpp>
|
||||||
#include <boost/mpl/modulus.hpp>
|
#include <boost/mpl/modulus.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
template< typename N > struct is_odd
|
template< typename N > struct is_odd
|
||||||
: modulus< N, int_<2> >
|
: modulus< N, int_<2> >
|
||||||
|
@@ -15,8 +15,8 @@
|
|||||||
#include <boost/mpl/list.hpp>
|
#include <boost/mpl/list.hpp>
|
||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/front.hpp>
|
#include <boost/mpl/front.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -13,9 +13,8 @@
|
|||||||
|
|
||||||
#include <boost/mpl/push_back.hpp>
|
#include <boost/mpl/push_back.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
struct no_push_back_tag {};
|
struct no_push_back_tag {};
|
||||||
|
|
||||||
|
@@ -18,10 +18,10 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/front.hpp>
|
#include <boost/mpl/front.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
struct no_push_front_tag {};
|
struct no_push_front_tag {};
|
||||||
|
|
||||||
struct no_push_front
|
struct no_push_front
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/quote.hpp>
|
#include <boost/mpl/quote.hpp>
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
template< typename T > struct f1
|
template< typename T > struct f1
|
||||||
{
|
{
|
||||||
|
@@ -18,8 +18,8 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/front.hpp>
|
#include <boost/mpl/front.hpp>
|
||||||
#include <boost/mpl/back.hpp>
|
#include <boost/mpl/back.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
#include <boost/mpl/vector/vector10.hpp>
|
#include <boost/mpl/vector/vector10.hpp>
|
||||||
#include <boost/mpl/equal.hpp>
|
#include <boost/mpl/equal.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/type_traits/is_float.hpp>
|
#include <boost/type_traits/is_float.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/list.hpp>
|
#include <boost/mpl/list.hpp>
|
||||||
#include <boost/mpl/equal.hpp>
|
#include <boost/mpl/equal.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
#include <boost/mpl/greater.hpp>
|
#include <boost/mpl/greater.hpp>
|
||||||
#include <boost/mpl/equal_to.hpp>
|
#include <boost/mpl/equal_to.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
#include <boost/mpl/equal_to.hpp>
|
#include <boost/mpl/equal_to.hpp>
|
||||||
#include <boost/mpl/at.hpp>
|
#include <boost/mpl/at.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -12,9 +12,8 @@
|
|||||||
// $Revision$
|
// $Revision$
|
||||||
|
|
||||||
#include <boost/mpl/same_as.hpp>
|
#include <boost/mpl/same_as.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/apply.hpp>
|
#include <boost/mpl/apply.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -29,10 +29,10 @@
|
|||||||
#include <boost/mpl/empty.hpp>
|
#include <boost/mpl/empty.hpp>
|
||||||
#include <boost/mpl/begin_end.hpp>
|
#include <boost/mpl/begin_end.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
// Use templates for testing so that GCC will show us the actual types involved
|
// Use templates for testing so that GCC will show us the actual types involved
|
||||||
|
|
||||||
template< typename s >
|
template< typename s >
|
||||||
|
@@ -16,9 +16,8 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/begin_end.hpp>
|
#include <boost/mpl/begin_end.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
namespace test { namespace {
|
namespace test { namespace {
|
||||||
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
||||||
|
@@ -15,8 +15,8 @@
|
|||||||
#include <boost/mpl/advance.hpp>
|
#include <boost/mpl/advance.hpp>
|
||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/begin_end.hpp>
|
#include <boost/mpl/begin_end.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/list.hpp>
|
#include <boost/mpl/list.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#include <boost/mpl/equal.hpp>
|
#include <boost/mpl/equal.hpp>
|
||||||
#include <boost/mpl/equal_to.hpp>
|
#include <boost/mpl/equal_to.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
#include <boost/mpl/equal.hpp>
|
#include <boost/mpl/equal.hpp>
|
||||||
#include <boost/mpl/comparison.hpp>
|
#include <boost/mpl/comparison.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
typedef vector_c<int,3,4,0,-5,8,-1,7>::type numbers;
|
typedef vector_c<int,3,4,0,-5,8,-1,7>::type numbers;
|
||||||
typedef vector_c<int,0,-5,-1>::type manual_first;
|
typedef vector_c<int,0,-5,-1>::type manual_first;
|
||||||
|
@@ -19,13 +19,13 @@
|
|||||||
#include <boost/mpl/equal.hpp>
|
#include <boost/mpl/equal.hpp>
|
||||||
#include <boost/mpl/equal_to.hpp>
|
#include <boost/mpl/equal_to.hpp>
|
||||||
#include <boost/mpl/plus.hpp>
|
#include <boost/mpl/plus.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/mpl/aux_/config/gcc.hpp>
|
#include <boost/mpl/aux_/config/gcc.hpp>
|
||||||
#include <boost/mpl/aux_/config/workaround.hpp>
|
#include <boost/mpl/aux_/config/workaround.hpp>
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
#include <boost/type_traits/add_pointer.hpp>
|
#include <boost/type_traits/add_pointer.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
#include <boost/mpl/max_element.hpp>
|
#include <boost/mpl/max_element.hpp>
|
||||||
#include <boost/mpl/list.hpp>
|
#include <boost/mpl/list.hpp>
|
||||||
#include <boost/mpl/sizeof.hpp>
|
#include <boost/mpl/sizeof.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
#include <boost/mpl/equal.hpp>
|
#include <boost/mpl/equal.hpp>
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -14,9 +14,10 @@
|
|||||||
#include <boost/mpl/unpack_args.hpp>
|
#include <boost/mpl/unpack_args.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/vector/vector10.hpp>
|
#include <boost/mpl/vector/vector10.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
MPL_ASSERT(( apply1<
|
MPL_ASSERT(( apply1<
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
#include <boost/mpl/list_c.hpp>
|
#include <boost/mpl/list_c.hpp>
|
||||||
#include <boost/mpl/less.hpp>
|
#include <boost/mpl/less.hpp>
|
||||||
#include <boost/mpl/int.hpp>
|
#include <boost/mpl/int.hpp>
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
#include "test.hpp"
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -23,10 +23,10 @@
|
|||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
#include <boost/mpl/empty.hpp>
|
#include <boost/mpl/empty.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -15,10 +15,10 @@
|
|||||||
#include <boost/mpl/front.hpp>
|
#include <boost/mpl/front.hpp>
|
||||||
#include <boost/mpl/size.hpp>
|
#include <boost/mpl/size.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
#if !BOOST_WORKAROUND(BOOST_MSVC, <=1200)
|
#if !BOOST_WORKAROUND(BOOST_MSVC, <=1200)
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
{
|
{
|
||||||
|
@@ -23,9 +23,8 @@
|
|||||||
#include <boost/mpl/unpack_args.hpp>
|
#include <boost/mpl/unpack_args.hpp>
|
||||||
#include <boost/mpl/math/is_even.hpp>
|
#include <boost/mpl/math/is_even.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/test.hpp>
|
|
||||||
|
|
||||||
#include <boost/type_traits/is_same.hpp>
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
|
||||||
MPL_TEST_CASE()
|
MPL_TEST_CASE()
|
||||||
|
Reference in New Issue
Block a user