|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73897 - trunk/libs/tti/test
From: eldiener_at_[hidden]
Date: 2011-08-18 16:42:59
Author: eldiener
Date: 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
New Revision: 73897
URL: http://svn.boost.org/trac/boost/changeset/73897
Log:
Removed namespaces generated by macro metafunctions.
Text files modified:
trunk/libs/tti/test/Jamfile.v2 | 107 ++++++++++++++++++++-------------------
trunk/libs/tti/test/test_has_mem_data.cpp | 6 +-
trunk/libs/tti/test/test_has_mem_data_compile.cpp | 6 +-
trunk/libs/tti/test/test_has_mem_fun.cpp | 6 +-
trunk/libs/tti/test/test_has_mem_fun_compile.cpp | 6 +-
trunk/libs/tti/test/test_has_member.cpp | 6 +-
trunk/libs/tti/test/test_has_member_compile.cpp | 6 +-
trunk/libs/tti/test/test_has_static_mem_data.cpp | 2
trunk/libs/tti/test/test_has_static_mem_data_compile.cpp | 2
trunk/libs/tti/test/test_has_static_mem_fun.cpp | 8 +-
trunk/libs/tti/test/test_has_static_mem_fun_compile.cpp | 8 +-
trunk/libs/tti/test/test_has_static_mem_fun_fail.cpp | 2
trunk/libs/tti/test/test_has_static_member.cpp | 8 +-
trunk/libs/tti/test/test_has_static_member_compile.cpp | 8 +-
trunk/libs/tti/test/test_has_static_member_fail.cpp | 2
trunk/libs/tti/test/test_has_template.cpp | 6 +-
trunk/libs/tti/test/test_has_template_compile.cpp | 4
trunk/libs/tti/test/test_has_template_cp.cpp | 6 +-
trunk/libs/tti/test/test_has_template_cp_compile.cpp | 6 +-
trunk/libs/tti/test/test_has_template_cp_fail2.cpp | 2
trunk/libs/tti/test/test_has_template_cp_fail3.cpp | 2
trunk/libs/tti/test/test_has_template_cp_fail4.cpp | 2
trunk/libs/tti/test/test_has_template_fail4.cpp | 2
trunk/libs/tti/test/test_has_type.cpp | 6 +-
trunk/libs/tti/test/test_has_type_compile.cpp | 6 +-
trunk/libs/tti/test/test_has_type_ct.cpp | 6 +-
trunk/libs/tti/test/test_has_type_ct_compile.cpp | 8 +-
trunk/libs/tti/test/test_has_type_ct_fail3.cpp | 2
trunk/libs/tti/test/test_has_type_fail3.cpp | 2
trunk/libs/tti/test/test_mem_type.cpp | 6 +-
trunk/libs/tti/test/test_mem_type_compile.cpp | 6 +-
trunk/libs/tti/test/test_vm_has_template_cp.cpp | 10 +-
trunk/libs/tti/test/test_vm_has_template_cp.hpp | 6 +-
trunk/libs/tti/test/test_vm_has_template_cp_compile.cpp | 10 +-
trunk/libs/tti/test/test_vm_has_template_cp_fail.cpp | 4
trunk/libs/tti/test/test_vm_has_template_cp_fail2.cpp | 6 +-
trunk/libs/tti/test/test_vm_has_template_cp_fail3.cpp | 6 +-
trunk/libs/tti/test/test_vm_has_template_cp_fail4.cpp | 6 +-
trunk/libs/tti/test/test_vm_mf_has_template_cp.cpp | 4
trunk/libs/tti/test/test_vm_mf_has_template_cp.hpp | 6 +-
trunk/libs/tti/test/test_vm_mf_has_template_cp_compile.cpp | 4
trunk/libs/tti/test/test_vm_mf_has_template_cp_fail.cpp | 4
trunk/libs/tti/test/test_vm_mf_has_template_cp_fail2.cpp | 4
trunk/libs/tti/test/test_vm_mf_has_template_cp_fail3.cpp | 4
44 files changed, 165 insertions(+), 164 deletions(-)
Modified: trunk/libs/tti/test/Jamfile.v2
==============================================================================
--- trunk/libs/tti/test/Jamfile.v2 (original)
+++ trunk/libs/tti/test/Jamfile.v2 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -75,61 +75,62 @@
[ compile-fail test_has_type_ct_fail5.cpp ]
[ run test_mem_type.cpp ]
[ compile test_mem_type_compile.cpp ]
- [ run test_mf_has_mem_data.cpp ]
- [ compile test_mf_has_mem_data_compile.cpp ]
- [ compile-fail test_mf_has_mem_data_fail.cpp ]
- [ compile-fail test_mf_has_mem_data_fail2.cpp ]
- [ compile-fail test_mf_has_mem_data_fail3.cpp ]
- [ run test_mf_has_mem_fun.cpp ]
- [ compile test_mf_has_mem_fun_compile.cpp ]
- [ compile-fail test_mf_has_mem_fun_fail.cpp ]
- [ compile-fail test_mf_has_mem_fun_fail2.cpp ]
- [ compile-fail test_mf_has_mem_fun_fail3.cpp ]
- [ run test_mf_has_static_data.cpp ]
- [ compile test_mf_has_static_data_compile.cpp ]
- [ compile-fail test_mf_has_static_data_fail.cpp ]
- [ compile-fail test_mf_has_static_data_fail2.cpp ]
- [ compile-fail test_mf_has_static_data_fail3.cpp ]
- [ run test_mf_has_static_fun.cpp ]
- [ compile test_mf_has_static_fun_compile.cpp ]
- [ compile-fail test_mf_has_static_fun_fail.cpp ]
- [ compile-fail test_mf_has_static_fun_fail2.cpp ]
- [ compile-fail test_mf_has_static_fun_fail3.cpp ]
- [ run test_mf_has_type.cpp ]
- [ compile test_mf_has_type_compile.cpp ]
- [ compile-fail test_mf_has_type_fail.cpp ]
- [ compile-fail test_mf_has_type_fail2.cpp ]
- [ run test_mf_has_type_ct.cpp ]
- [ compile test_mf_has_type_ct_compile.cpp ]
- [ compile-fail test_mf_has_type_ct_fail.cpp ]
- [ compile-fail test_mf_has_type_ct_fail2.cpp ]
- [ compile-fail test_mf_has_type_ct_fail3.cpp ]
- [ run test_mf_has_template.cpp ]
- [ compile test_mf_has_template_compile.cpp ]
- [ compile-fail test_mf_has_template_fail.cpp ]
- [ compile-fail test_mf_has_template_fail2.cpp ]
- [ compile-fail test_mf_has_template_fail3.cpp ]
- [ compile-fail test_mf_has_template_fail4.cpp ]
- [ run test_mf_has_template_cp.cpp ]
- [ compile test_mf_has_template_cp_compile.cpp ]
- [ compile-fail test_mf_has_template_cp_fail.cpp ]
- [ compile-fail test_mf_has_template_cp_fail2.cpp ]
- [ compile-fail test_mf_has_template_cp_fail3.cpp ]
- [ run test_mf_mem_type.cpp ]
- [ compile test_mf_mem_type_compile.cpp ]
;
alias ttivm
:
- [ run test_vm_has_template_cp.cpp : : : <define>BOOST_PP_VARIADICS=1 ]
- [ compile test_vm_has_template_cp_compile.cpp : <define>BOOST_PP_VARIADICS=1 ]
- [ compile-fail test_vm_has_template_cp_fail.cpp : <define>BOOST_PP_VARIADICS=1 ]
- [ compile-fail test_vm_has_template_cp_fail2.cpp : <define>BOOST_PP_VARIADICS=1 ]
- [ compile-fail test_vm_has_template_cp_fail3.cpp : <define>BOOST_PP_VARIADICS=1 ]
- [ compile-fail test_vm_has_template_cp_fail4.cpp : <define>BOOST_PP_VARIADICS=1 ]
- [ run test_vm_mf_has_template_cp.cpp : : : <define>BOOST_PP_VARIADICS=1 ]
- [ compile test_vm_mf_has_template_cp_compile.cpp : <define>BOOST_PP_VARIADICS=1 ]
- [ compile-fail test_vm_mf_has_template_cp_fail.cpp : <define>BOOST_PP_VARIADICS=1 ]
- [ compile-fail test_vm_mf_has_template_cp_fail2.cpp : <define>BOOST_PP_VARIADICS=1 ]
- [ compile-fail test_vm_mf_has_template_cp_fail3.cpp : <define>BOOST_PP_VARIADICS=1 ]
+ [ run test_vm_has_template_cp.cpp : : :
+ <toolset>gcc-4.3.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.3.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.4.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.4.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.5.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.5.2:<cxxflags>-std=c++0x
+ <toolset>gcc-4.6.0:<cxxflags>-std=c++0x
+ <define>BOOST_PP_VARIADICS=1 ]
+ [ compile test_vm_has_template_cp_compile.cpp :
+ <toolset>gcc-4.3.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.3.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.4.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.4.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.5.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.5.2:<cxxflags>-std=c++0x
+ <toolset>gcc-4.6.0:<cxxflags>-std=c++0x
+ <define>BOOST_PP_VARIADICS=1 ]
+ [ compile-fail test_vm_has_template_cp_fail.cpp :
+ <toolset>gcc-4.3.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.3.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.4.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.4.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.5.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.5.2:<cxxflags>-std=c++0x
+ <toolset>gcc-4.6.0:<cxxflags>-std=c++0x
+ <define>BOOST_PP_VARIADICS=1 ]
+ [ compile-fail test_vm_has_template_cp_fail2.cpp :
+ <toolset>gcc-4.3.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.3.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.4.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.4.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.5.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.5.2:<cxxflags>-std=c++0x
+ <toolset>gcc-4.6.0:<cxxflags>-std=c++0x
+ <define>BOOST_PP_VARIADICS=1 ]
+ [ compile-fail test_vm_has_template_cp_fail3.cpp :
+ <toolset>gcc-4.3.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.3.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.4.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.4.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.5.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.5.2:<cxxflags>-std=c++0x
+ <toolset>gcc-4.6.0:<cxxflags>-std=c++0x
+ <define>BOOST_PP_VARIADICS=1 ]
+ [ compile-fail test_vm_has_template_cp_fail4.cpp :
+ <toolset>gcc-4.3.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.3.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.4.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.4.0:<cxxflags>-U__STRICT_ANSI__
+ <toolset>gcc-4.5.0:<cxxflags>-std=c++0x
+ <toolset>gcc-4.5.2:<cxxflags>-std=c++0x
+ <toolset>gcc-4.6.0:<cxxflags>-std=c++0x
+ <define>BOOST_PP_VARIADICS=1 ]
;
Modified: trunk/libs/tti/test/test_has_mem_data.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_mem_data.cpp (original)
+++ trunk/libs/tti/test/test_has_mem_data.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -14,11 +14,11 @@
BOOST_TEST((BOOST_TTI_HAS_MEMBER_DATA_GEN(AnInt)<AnotherType,long>::value));
BOOST_TEST((BOOST_TTI_HAS_MEMBER_DATA_GEN(aMember)<AnotherType,bool>::value));
BOOST_TEST((!BOOST_TTI_HAS_MEMBER_DATA_GEN(aMember)<AnotherType,int>::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(CMember)<AnotherType,bool>::value));
+ BOOST_TEST((CMember<AnotherType,bool>::value));
BOOST_TEST((!BOOST_TTI_HAS_MEMBER_DATA_GEN(someDataMember)<AType,short>::value));
BOOST_TEST((BOOST_TTI_HAS_MEMBER_DATA_GEN(IntBT)<AType,AType::BType>::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(NestedData)<AType,AType::BType::CType>::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(AOther)<AnotherType,AType>::value));
+ BOOST_TEST((NestedData<AType,AType::BType::CType>::value));
+ BOOST_TEST((AOther<AnotherType,AType>::value));
BOOST_TEST((BOOST_TTI_HAS_MEMBER_DATA_GEN(ONestStr)<AnotherType,AType::AStructType>::value));
return boost::report_errors();
Modified: trunk/libs/tti/test/test_has_mem_data_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_mem_data_compile.cpp (original)
+++ trunk/libs/tti/test/test_has_mem_data_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -20,10 +20,10 @@
BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_DATA_GEN(AnInt)<AType,int>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_DATA_GEN(AnInt)<AnotherType,long>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_DATA_GEN(aMember)<AnotherType,bool>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(CMember)<AnotherType,bool>));
+ BOOST_MPL_ASSERT((CMember<AnotherType,bool>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_DATA_GEN(IntBT)<AType,AType::BType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(NestedData)<AType,AType::BType::CType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(AOther)<AnotherType,AType>));
+ BOOST_MPL_ASSERT((NestedData<AType,AType::BType::CType>));
+ BOOST_MPL_ASSERT((AOther<AnotherType,AType>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_DATA_GEN(ONestStr)<AnotherType,AType::AStructType>));
return 0;
Modified: trunk/libs/tti/test/test_has_mem_fun.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_mem_fun.cpp (original)
+++ trunk/libs/tti/test/test_has_mem_fun.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -11,10 +11,10 @@
{
BOOST_TEST((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(VoidFunction)<AType,void>::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<AType,int>::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<AnotherType,double,boost::mpl::vector<int> >::value));
+ BOOST_TEST((FunctionReturningInt<AType,int>::value));
+ BOOST_TEST((FunctionReturningInt<AnotherType,double,boost::mpl::vector<int> >::value));
BOOST_TEST((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(aFunction)<AnotherType,AType,boost::mpl::vector<int> >::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(AnotherIntFunction)<AnotherType,int,boost::mpl::vector<AType> >::value));
+ BOOST_TEST((AnotherIntFunction<AnotherType,int,boost::mpl::vector<AType> >::value));
BOOST_TEST((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(sFunction)<AnotherType,AType::AnIntType,boost::mpl::vector<int,long,double> >::value));
BOOST_TEST((!BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(someFunctionMember)<AnotherType,AType,boost::mpl::vector<long,int> >::value));
BOOST_TEST((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(PublicIntFunction)<AnotherType,double,boost::mpl::vector<int> >::value));
Modified: trunk/libs/tti/test/test_has_mem_fun_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_mem_fun_compile.cpp (original)
+++ trunk/libs/tti/test/test_has_mem_fun_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -17,10 +17,10 @@
// Compile time asserts
BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(VoidFunction)<AType,void>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<AType,int>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<AnotherType,double,boost::mpl::vector<int> >));
+ BOOST_MPL_ASSERT((FunctionReturningInt<AType,int>));
+ BOOST_MPL_ASSERT((FunctionReturningInt<AnotherType,double,boost::mpl::vector<int> >));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(aFunction)<AnotherType,AType,boost::mpl::vector<int> >));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(AnotherIntFunction)<AnotherType,int,boost::mpl::vector<AType> >));
+ BOOST_MPL_ASSERT((AnotherIntFunction<AnotherType,int,boost::mpl::vector<AType> >));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(sFunction)<AnotherType,AType::AnIntType,boost::mpl::vector<int,long,double> >));
return 0;
Modified: trunk/libs/tti/test/test_has_member.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_member.cpp (original)
+++ trunk/libs/tti/test/test_has_member.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -11,10 +11,10 @@
{
BOOST_TEST(BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(VoidFunction)<void (AType::*)()>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<int (AType::*)()>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<double (AnotherType::*)(int)>::value);
+ BOOST_TEST(FunctionReturningInt<int (AType::*)()>::value);
+ BOOST_TEST(FunctionReturningInt<double (AnotherType::*)(int)>::value);
BOOST_TEST(BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(aFunction)<AType (AnotherType::*)(int)>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(AnotherIntFunction)<int (AnotherType::*)(AType)>::value);
+ BOOST_TEST(AnotherIntFunction<int (AnotherType::*)(AType)>::value);
BOOST_TEST(BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(sFunction)<AType::AnIntType (AnotherType::*)(int,long,double)>::value);
BOOST_TEST(!BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(someFunctionMember)<AType (AnotherType::*)(long,int)>::value);
Modified: trunk/libs/tti/test/test_has_member_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_member_compile.cpp (original)
+++ trunk/libs/tti/test/test_has_member_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -17,10 +17,10 @@
// Compile time asserts
BOOST_MPL_ASSERT((BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(VoidFunction)<void (AType::*)()>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<int (AType::*)()>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<double (AnotherType::*)(int)>));
+ BOOST_MPL_ASSERT((FunctionReturningInt<int (AType::*)()>));
+ BOOST_MPL_ASSERT((FunctionReturningInt<double (AnotherType::*)(int)>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(aFunction)<AType (AnotherType::*)(int)>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(AnotherIntFunction)<int (AnotherType::*)(AType)>));
+ BOOST_MPL_ASSERT((AnotherIntFunction<int (AnotherType::*)(AType)>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(sFunction)<AType::AnIntType (AnotherType::*)(int,long,double)>));
return 0;
Modified: trunk/libs/tti/test/test_has_static_mem_data.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_static_mem_data.cpp (original)
+++ trunk/libs/tti/test/test_has_static_mem_data.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,7 +12,7 @@
BOOST_TEST((BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(DSMember)<AType,short>::value));
BOOST_TEST((!BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(SomeStaticData)<AnotherType,float>::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(StatName)<AnotherType,AType::AStructType>::value));
+ BOOST_TEST((StatName<AnotherType,AType::AStructType>::value));
BOOST_TEST((BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(CIntValue)<AnotherType,const int>::value));
Modified: trunk/libs/tti/test/test_has_static_mem_data_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_static_mem_data_compile.cpp (original)
+++ trunk/libs/tti/test/test_has_static_mem_data_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -17,7 +17,7 @@
// Compile time asserts
BOOST_MPL_ASSERT((BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(DSMember)<AType,short>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(StatName)<AnotherType,AType::AStructType>));
+ BOOST_MPL_ASSERT((StatName<AnotherType,AType::AStructType>));
return 0;
Modified: trunk/libs/tti/test/test_has_static_mem_fun.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_static_mem_fun.cpp (original)
+++ trunk/libs/tti/test/test_has_static_mem_fun.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,11 +10,11 @@
int main()
{
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<AType,int,boost::mpl::vector<long,double> >::value));
- BOOST_TEST((!BOOST_TTI_TRAIT_GEN(TheTIntFunction)<AType,AType,boost::mpl::vector<long,double> >::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(TheTIntFunction)<AnotherType,AType,boost::mpl::vector<long,double> >::value));
+ BOOST_TEST((HaveTheSIntFunction<AType,int,boost::mpl::vector<long,double> >::value));
+ BOOST_TEST((!TheTIntFunction<AType,AType,boost::mpl::vector<long,double> >::value));
+ BOOST_TEST((TheTIntFunction<AnotherType,AType,boost::mpl::vector<long,double> >::value));
BOOST_TEST((BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_GEN(TSFunction)<AnotherType,AType::AStructType,boost::mpl::vector<AType::AnIntType,double> >::value));
- BOOST_TEST((!BOOST_TTI_TRAIT_GEN(Pickedname)<AnotherType,void>::value));
+ BOOST_TEST((!Pickedname<AnotherType,void>::value));
return boost::report_errors();
Modified: trunk/libs/tti/test/test_has_static_mem_fun_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_static_mem_fun_compile.cpp (original)
+++ trunk/libs/tti/test/test_has_static_mem_fun_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,13 +12,13 @@
// You can always instantiate without compiler errors
- BOOST_TTI_TRAIT_GEN(TheTIntFunction)<AType,void,boost::mpl::vector<long,double> > aVar;
- BOOST_TTI_TRAIT_GEN(Pickedname)<AnotherType,AType,boost::mpl::vector<long,long> > aVar3;
+ TheTIntFunction<AType,void,boost::mpl::vector<long,double> > aVar;
+ Pickedname<AnotherType,AType,boost::mpl::vector<long,long> > aVar3;
// Compile time asserts
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<AType,int,boost::mpl::vector<long,double> >));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(TheTIntFunction)<AnotherType,AType,boost::mpl::vector<long,double> >));
+ BOOST_MPL_ASSERT((HaveTheSIntFunction<AType,int,boost::mpl::vector<long,double> >));
+ BOOST_MPL_ASSERT((TheTIntFunction<AnotherType,AType,boost::mpl::vector<long,double> >));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_GEN(TSFunction)<AnotherType,AType::AStructType,boost::mpl::vector<AType::AnIntType,double> >));
return 0;
Modified: trunk/libs/tti/test/test_has_static_mem_fun_fail.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_static_mem_fun_fail.cpp (original)
+++ trunk/libs/tti/test/test_has_static_mem_fun_fail.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,7 +12,7 @@
// Wrong function signature for SIntFunction
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<AType,int,boost::mpl::vector<float,double> >));
+ BOOST_MPL_ASSERT((HaveTheSIntFunction<AType,int,boost::mpl::vector<float,double> >));
return 0;
Modified: trunk/libs/tti/test/test_has_static_member.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_static_member.cpp (original)
+++ trunk/libs/tti/test/test_has_static_member.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,11 +10,11 @@
int main()
{
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<AType,int (long,double)>::value));
- BOOST_TEST((!BOOST_TTI_TRAIT_GEN(TheTIntFunction)<AType,AType (long,double)>::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(TheTIntFunction)<AnotherType,AType (long,double)>::value));
+ BOOST_TEST((HaveTheSIntFunction<AType,int (long,double)>::value));
+ BOOST_TEST((!TheTIntFunction<AType,AType (long,double)>::value));
+ BOOST_TEST((TheTIntFunction<AnotherType,AType (long,double)>::value));
BOOST_TEST((BOOST_TTI_HAS_COMP_STATIC_MEMBER_FUNCTION_GEN(TSFunction)<AnotherType,AType::AStructType (AType::AnIntType,double)>::value));
- BOOST_TEST((!BOOST_TTI_TRAIT_GEN(Pickedname)<AnotherType,void ()>::value));
+ BOOST_TEST((!Pickedname<AnotherType,void ()>::value));
return boost::report_errors();
Modified: trunk/libs/tti/test/test_has_static_member_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_static_member_compile.cpp (original)
+++ trunk/libs/tti/test/test_has_static_member_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,13 +12,13 @@
// You can always instantiate without compiler errors
- BOOST_TTI_TRAIT_GEN(TheTIntFunction<AType),void (long,double)> aVar;
- BOOST_TTI_TRAIT_GEN(Pickedname)<AnotherType,AType (long,long)> aVar3;
+ TheTIntFunction<AType,void (long,double)> aVar;
+ Pickedname<AnotherType,AType (long,long)> aVar3;
// Compile time asserts
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<AType,int (long,double)>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(TheTIntFunction)<AnotherType,AType (long,double)>));
+ BOOST_MPL_ASSERT((HaveTheSIntFunction<AType,int (long,double)>));
+ BOOST_MPL_ASSERT((TheTIntFunction<AnotherType,AType (long,double)>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_COMP_STATIC_MEMBER_FUNCTION_GEN(TSFunction)<AnotherType,AType::AStructType (AType::AnIntType,double)>));
return 0;
Modified: trunk/libs/tti/test/test_has_static_member_fail.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_static_member_fail.cpp (original)
+++ trunk/libs/tti/test/test_has_static_member_fail.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,7 +12,7 @@
// Wrong function signature for SIntFunction
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<AType,int (float,double)>));
+ BOOST_MPL_ASSERT((HaveTheSIntFunction<AType,int (float,double)>));
return 0;
Modified: trunk/libs/tti/test/test_has_template.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_template.cpp (original)
+++ trunk/libs/tti/test/test_has_template.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -11,11 +11,11 @@
{
BOOST_TEST(BOOST_TTI_HAS_TEMPLATE_GEN(ATPMemberTemplate)<AType>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(HaveCL)<AType>::value);
+ BOOST_TEST(HaveCL<AType>::value);
BOOST_TEST(!BOOST_TTI_HAS_TEMPLATE_GEN(AMemberTemplate)<AType>::value);
- BOOST_TEST(!BOOST_TTI_TRAIT_GEN(HaveAnotherMT)<AType>::value);
+ BOOST_TEST(!HaveAnotherMT<AType>::value);
BOOST_TEST(!BOOST_TTI_HAS_TEMPLATE_GEN(SomeMemberTemplate)<AnotherType>::value);
- BOOST_TEST(!BOOST_TTI_TRAIT_GEN(ATemplateWithParms)<AnotherType>::value);
+ BOOST_TEST(!ATemplateWithParms<AnotherType>::value);
BOOST_TEST(BOOST_TTI_HAS_TEMPLATE_GEN(SimpleTMP)<AnotherType>::value);
return boost::report_errors();
Modified: trunk/libs/tti/test/test_has_template_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_template_compile.cpp (original)
+++ trunk/libs/tti/test/test_has_template_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -13,14 +13,14 @@
// You can always instantiate without compiler errors
BOOST_TTI_HAS_TEMPLATE_GEN(AMemberTemplate)<AnotherType> aVar;
- BOOST_TTI_TRAIT_GEN(HaveAnotherMT)<AnotherType> aVar2;
+ HaveAnotherMT<AnotherType> aVar2;
BOOST_TTI_HAS_TEMPLATE_GEN(SomeMemberTemplate)<AType> aVar3;
BOOST_TTI_HAS_TEMPLATE_GEN(TemplateNotExist)<AType> aVar4;
// Compile time asserts
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_GEN(ATPMemberTemplate)<AType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveCL)<AType>));
+ BOOST_MPL_ASSERT((HaveCL<AType>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_GEN(SimpleTMP)<AnotherType>));
return 0;
Modified: trunk/libs/tti/test/test_has_template_cp.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_template_cp.cpp (original)
+++ trunk/libs/tti/test/test_has_template_cp.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -11,11 +11,11 @@
{
BOOST_TEST(BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(ATPMemberTemplate)<AType>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(HaveCL)<AType>::value);
+ BOOST_TEST(HaveCL<AType>::value);
BOOST_TEST(BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(AMemberTemplate)<AType>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(HaveAnotherMT)<AType>::value);
+ BOOST_TEST(HaveAnotherMT<AType>::value);
BOOST_TEST(BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(SomeMemberTemplate)<AnotherType>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(ATemplateWithParms)<AnotherType>::value);
+ BOOST_TEST(ATemplateWithParms<AnotherType>::value);
BOOST_TEST(BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(SimpleTMP)<AnotherType>::value);
BOOST_TEST(!BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(TemplateNotExist)<AnotherType>::value);
Modified: trunk/libs/tti/test/test_has_template_cp_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_template_cp_compile.cpp (original)
+++ trunk/libs/tti/test/test_has_template_cp_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -17,11 +17,11 @@
// Compile time asserts
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(ATPMemberTemplate)<AType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveCL)<AType>));
+ BOOST_MPL_ASSERT((HaveCL<AType>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(AMemberTemplate)<AType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveAnotherMT)<AType>));
+ BOOST_MPL_ASSERT((HaveAnotherMT<AType>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(SomeMemberTemplate)<AnotherType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(ATemplateWithParms)<AnotherType>));
+ BOOST_MPL_ASSERT((ATemplateWithParms<AnotherType>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(SimpleTMP)<AnotherType>));
return 0;
Modified: trunk/libs/tti/test/test_has_template_cp_fail2.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_template_cp_fail2.cpp (original)
+++ trunk/libs/tti/test/test_has_template_cp_fail2.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,7 +12,7 @@
// Wrong enclosing type
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveCL)<AnotherType>));
+ BOOST_MPL_ASSERT((HaveCL<AnotherType>));
return 0;
Modified: trunk/libs/tti/test/test_has_template_cp_fail3.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_template_cp_fail3.cpp (original)
+++ trunk/libs/tti/test/test_has_template_cp_fail3.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,7 +12,7 @@
// Wrong template parameters
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(WrongParametersForMP)<AnotherType>));
+ BOOST_MPL_ASSERT((WrongParametersForMP<AnotherType>));
return 0;
Modified: trunk/libs/tti/test/test_has_template_cp_fail4.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_template_cp_fail4.cpp (original)
+++ trunk/libs/tti/test/test_has_template_cp_fail4.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,7 +12,7 @@
// Wrong template parameters
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(WrongParameters2ForMP)<AnotherType>));
+ BOOST_MPL_ASSERT((WrongParameters2ForMP<AnotherType>));
return 0;
Modified: trunk/libs/tti/test/test_has_template_fail4.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_template_fail4.cpp (original)
+++ trunk/libs/tti/test/test_has_template_fail4.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,7 +12,7 @@
// Not all 'typename' parameters
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveAnotherMT)<AType>));
+ BOOST_MPL_ASSERT((HaveAnotherMT<AType>));
return 0;
Modified: trunk/libs/tti/test/test_has_type.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_type.cpp (original)
+++ trunk/libs/tti/test/test_has_type.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,12 +12,12 @@
BOOST_TEST(BOOST_TTI_HAS_TYPE_GEN(AnIntType)<AType>::value);
BOOST_TEST(BOOST_TTI_HAS_TYPE_GEN(AnIntTypeReference)<AType>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(NameStruct)<AType>::value);
+ BOOST_TEST(NameStruct<AType>::value);
BOOST_TEST(BOOST_TTI_HAS_TYPE_GEN(BType)<AType>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(TheInteger)<AType::BType>::value);
+ BOOST_TEST(TheInteger<AType::BType>::value);
BOOST_TEST(BOOST_TTI_HAS_TYPE_GEN(CType)<AType::BType>::value);
BOOST_TEST(BOOST_TTI_HAS_TYPE_GEN(AnotherIntegerType)<AType::BType::CType>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(SomethingElse)<AnotherType>::value);
+ BOOST_TEST(SomethingElse<AnotherType>::value);
BOOST_TEST(!BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<AnotherType>::value);
return boost::report_errors();
Modified: trunk/libs/tti/test/test_has_type_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_type_compile.cpp (original)
+++ trunk/libs/tti/test/test_has_type_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -19,12 +19,12 @@
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(AnIntType)<AType>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(AnIntTypeReference)<AType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(NameStruct)<AType>));
+ BOOST_MPL_ASSERT((NameStruct<AType>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(BType)<AType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(TheInteger)<AType::BType>));
+ BOOST_MPL_ASSERT((TheInteger<AType::BType>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(CType)<AType::BType>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(AnotherIntegerType)<AType::BType::CType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(SomethingElse)<AnotherType>));
+ BOOST_MPL_ASSERT((SomethingElse<AnotherType>));
return 0;
Modified: trunk/libs/tti/test/test_has_type_ct.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_type_ct.cpp (original)
+++ trunk/libs/tti/test/test_has_type_ct.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -11,13 +11,13 @@
{
BOOST_TEST((BOOST_TTI_HAS_TYPE_GEN(AnIntType)<AType,int>::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(NameStruct)<AType,AType::AStructType>::value));
+ BOOST_TEST((NameStruct<AType,AType::AStructType>::value));
BOOST_TEST((BOOST_TTI_HAS_TYPE_GEN(AnIntTypeReference)<AType,int &>::value));
BOOST_TEST((BOOST_TTI_HAS_TYPE_GEN(BType)<AType,AType::BType>::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(TheInteger)<AType::BType,int>::value));
+ BOOST_TEST((TheInteger<AType::BType,int>::value));
BOOST_TEST((BOOST_TTI_HAS_TYPE_GEN(CType)<AType::BType,AType::BType::CType>::value));
BOOST_TEST((BOOST_TTI_HAS_TYPE_GEN(AnotherIntegerType)<AType::BType::CType,int>::value));
- BOOST_TEST((BOOST_TTI_TRAIT_GEN(SomethingElse)<AnotherType,AType::AnIntType>::value));
+ BOOST_TEST((SomethingElse<AnotherType,AType::AnIntType>::value));
BOOST_TEST((!BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<AnotherType,double>::value));
return boost::report_errors();
Modified: trunk/libs/tti/test/test_has_type_ct_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_type_ct_compile.cpp (original)
+++ trunk/libs/tti/test/test_has_type_ct_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,19 +12,19 @@
// You can always instantiate without compiler errors
- BOOST_TTI_TRAIT_GEN(TheInteger)<AType::BType,short> aVar;
+ TheInteger<AType::BType,short> aVar;
BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<AnotherType,double> aVar2;
// Compile time asserts
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(AnIntType)<AType,int>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(NameStruct)<AType,AType::AStructType>));
+ BOOST_MPL_ASSERT((NameStruct<AType,AType::AStructType>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(AnIntTypeReference)<AType,int &>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(BType)<AType,AType::BType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(TheInteger)<AType::BType,int>));
+ BOOST_MPL_ASSERT((TheInteger<AType::BType,int>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(CType)<AType::BType,AType::BType::CType>));
BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(AnotherIntegerType)<AType::BType::CType,int>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(SomethingElse)<AnotherType,AType::AnIntType>));
+ BOOST_MPL_ASSERT((SomethingElse<AnotherType,AType::AnIntType>));
return 0;
Modified: trunk/libs/tti/test/test_has_type_ct_fail3.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_type_ct_fail3.cpp (original)
+++ trunk/libs/tti/test/test_has_type_ct_fail3.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -12,7 +12,7 @@
// Enclosing type does not exist
- BOOST_TTI_TRAIT_GEN(TheInteger)<AType::EType,double> aVar;
+ TheInteger<AType::EType,double> aVar;
return 0;
Modified: trunk/libs/tti/test/test_has_type_fail3.cpp
==============================================================================
--- trunk/libs/tti/test/test_has_type_fail3.cpp (original)
+++ trunk/libs/tti/test/test_has_type_fail3.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -11,7 +11,7 @@
// Enclosing type does not exist
- BOOST_TTI_TRAIT_GEN(TheInteger)<AType::EType> aVar;
+ TheInteger<AType::EType> aVar;
return 0;
Modified: trunk/libs/tti/test/test_mem_type.cpp
==============================================================================
--- trunk/libs/tti/test/test_mem_type.cpp (original)
+++ trunk/libs/tti/test/test_mem_type.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -11,13 +11,13 @@
{
BOOST_TEST(boost::tti::mf_valid_member_type<BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AType> >::value);
- BOOST_TEST(boost::tti::mf_valid_member_type<BOOST_TTI_TRAIT_GEN(NameStruct)<AType> >::value);
+ BOOST_TEST(boost::tti::mf_valid_member_type<NameStruct<AType> >::value);
BOOST_TEST(boost::tti::mf_valid_member_type<BOOST_TTI_MEMBER_TYPE_GEN(AnIntTypeReference)<AType> >::value);
BOOST_TEST(boost::tti::mf_valid_member_type<BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType> >::value);
- BOOST_TEST(boost::tti::mf_valid_member_type<BOOST_TTI_TRAIT_GEN(TheInteger)<AType::BType> >::value);
+ BOOST_TEST(boost::tti::mf_valid_member_type<TheInteger<AType::BType> >::value);
BOOST_TEST(boost::tti::mf_valid_member_type<BOOST_TTI_MEMBER_TYPE_GEN(CType)<AType::BType> >::value);
BOOST_TEST(boost::tti::mf_valid_member_type<BOOST_TTI_MEMBER_TYPE_GEN(AnotherIntegerType)<AType::BType::CType> >::value);
- BOOST_TEST(boost::tti::mf_valid_member_type<BOOST_TTI_TRAIT_GEN(SomethingElse)<AnotherType> >::value);
+ BOOST_TEST(boost::tti::mf_valid_member_type<SomethingElse<AnotherType> >::value);
return boost::report_errors();
Modified: trunk/libs/tti/test/test_mem_type_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_mem_type_compile.cpp (original)
+++ trunk/libs/tti/test/test_mem_type_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -11,13 +11,13 @@
{
BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AType> >));
- BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<BOOST_TTI_TRAIT_GEN(NameStruct)<AType> >));
+ BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<NameStruct<AType> >));
BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<BOOST_TTI_MEMBER_TYPE_GEN(AnIntTypeReference)<AType> >));
BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType> >));
- BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<BOOST_TTI_TRAIT_GEN(TheInteger)<AType::BType> >));
+ BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<TheInteger<AType::BType> >));
BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<BOOST_TTI_MEMBER_TYPE_GEN(CType)<AType::BType> >));
BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<BOOST_TTI_MEMBER_TYPE_GEN(AnotherIntegerType)<AType::BType::CType> >));
- BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<BOOST_TTI_TRAIT_GEN(SomethingElse)<AnotherType> >));
+ BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<SomethingElse<AnotherType> >));
return 0;
Modified: trunk/libs/tti/test/test_vm_has_template_cp.cpp
==============================================================================
--- trunk/libs/tti/test/test_vm_has_template_cp.cpp (original)
+++ trunk/libs/tti/test/test_vm_has_template_cp.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,18 +10,18 @@
int main()
{
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
BOOST_TEST(BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(ATPMemberTemplate)<AType>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(HaveCL)<AType>::value);
+ BOOST_TEST(HaveCL<AType>::value);
BOOST_TEST(BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(AMemberTemplate)<AType>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(HaveAnotherMT)<AType>::value);
+ BOOST_TEST(HaveAnotherMT<AType>::value);
BOOST_TEST(BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(SomeMemberTemplate)<AnotherType>::value);
- BOOST_TEST(BOOST_TTI_TRAIT_GEN(ATemplateWithParms)<AnotherType>::value);
+ BOOST_TEST(ATemplateWithParms<AnotherType>::value);
BOOST_TEST(BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(SimpleTMP)<AnotherType>::value);
BOOST_TEST(!BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(TemplateNotExist)<AnotherType>::value);
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
return boost::report_errors();
Modified: trunk/libs/tti/test/test_vm_has_template_cp.hpp
==============================================================================
--- trunk/libs/tti/test/test_vm_has_template_cp.hpp (original)
+++ trunk/libs/tti/test/test_vm_has_template_cp.hpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -7,9 +7,9 @@
#if !defined(TEST_VM_HAS_TEMPLATE_CHECK_PARAMS_HPP)
#define TEST_VM_HAS_TEMPLATE_CHECK_PARAMS_HPP
-#include <boost/config.hpp>
+#include <boost/preprocessor/config/config.hpp>
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
#include "test_structs.hpp"
#include <boost/tti/vm_template_params.hpp>
@@ -25,6 +25,6 @@
BOOST_TTI_VM_TRAIT_HAS_TEMPLATE_CHECK_PARAMS(WrongParametersForMP,ManyParameters,class,class,int,class,template <class,class> class InnerTemplate,class,long)
BOOST_TTI_VM_TRAIT_HAS_TEMPLATE_CHECK_PARAMS(WrongParameters2ForMP,ManyParameters,class,long,int,class,template <class> class InnerTemplate,class,long)
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
#endif // TEST_VM_HAS_TEMPLATE_CHECK_PARAMS_HPP
Modified: trunk/libs/tti/test/test_vm_has_template_cp_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_vm_has_template_cp_compile.cpp (original)
+++ trunk/libs/tti/test/test_vm_has_template_cp_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,7 +10,7 @@
int main()
{
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
// You can always instantiate without compiler errors
@@ -19,14 +19,14 @@
// Compile time asserts
BOOST_MPL_ASSERT((BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(ATPMemberTemplate)<AType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveCL)<AType>));
+ BOOST_MPL_ASSERT((HaveCL<AType>));
BOOST_MPL_ASSERT((BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(AMemberTemplate)<AType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveAnotherMT)<AType>));
+ BOOST_MPL_ASSERT((HaveAnotherMT<AType>));
BOOST_MPL_ASSERT((BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(SomeMemberTemplate)<AnotherType>));
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(ATemplateWithParms)<AnotherType>));
+ BOOST_MPL_ASSERT((ATemplateWithParms<AnotherType>));
BOOST_MPL_ASSERT((BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(SimpleTMP)<AnotherType>));
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
return 0;
Modified: trunk/libs/tti/test/test_vm_has_template_cp_fail.cpp
==============================================================================
--- trunk/libs/tti/test/test_vm_has_template_cp_fail.cpp (original)
+++ trunk/libs/tti/test/test_vm_has_template_cp_fail.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,7 +10,7 @@
int main()
{
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
// TemplateNotExist does not exist at all
@@ -20,7 +20,7 @@
BOOST_MPL_ASSERT((boost::mpl::false_));
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
return 0;
Modified: trunk/libs/tti/test/test_vm_has_template_cp_fail2.cpp
==============================================================================
--- trunk/libs/tti/test/test_vm_has_template_cp_fail2.cpp (original)
+++ trunk/libs/tti/test/test_vm_has_template_cp_fail2.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,17 +10,17 @@
int main()
{
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
// Wrong enclosing type
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveCL)<AnotherType>));
+ BOOST_MPL_ASSERT((HaveCL<AnotherType>));
#else
BOOST_MPL_ASSERT((boost::mpl::false_));
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
return 0;
Modified: trunk/libs/tti/test/test_vm_has_template_cp_fail3.cpp
==============================================================================
--- trunk/libs/tti/test/test_vm_has_template_cp_fail3.cpp (original)
+++ trunk/libs/tti/test/test_vm_has_template_cp_fail3.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,17 +10,17 @@
int main()
{
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
// Wrong template parameters
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(WrongParametersForMP)<AnotherType>));
+ BOOST_MPL_ASSERT((WrongParametersForMP<AnotherType>));
#else
BOOST_MPL_ASSERT((boost::mpl::false_));
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
return 0;
Modified: trunk/libs/tti/test/test_vm_has_template_cp_fail4.cpp
==============================================================================
--- trunk/libs/tti/test/test_vm_has_template_cp_fail4.cpp (original)
+++ trunk/libs/tti/test/test_vm_has_template_cp_fail4.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,17 +10,17 @@
int main()
{
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
// Wrong template parameters
- BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(WrongParameters2ForMP)<AnotherType>));
+ BOOST_MPL_ASSERT((WrongParameters2ForMP<AnotherType>));
#else
BOOST_MPL_ASSERT((boost::mpl::false_));
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
return 0;
Modified: trunk/libs/tti/test/test_vm_mf_has_template_cp.cpp
==============================================================================
--- trunk/libs/tti/test/test_vm_mf_has_template_cp.cpp (original)
+++ trunk/libs/tti/test/test_vm_mf_has_template_cp.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,7 +10,7 @@
int main()
{
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
using namespace boost::mpl::placeholders;
@@ -110,7 +110,7 @@
::value
));
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
return boost::report_errors();
Modified: trunk/libs/tti/test/test_vm_mf_has_template_cp.hpp
==============================================================================
--- trunk/libs/tti/test/test_vm_mf_has_template_cp.hpp (original)
+++ trunk/libs/tti/test/test_vm_mf_has_template_cp.hpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -7,9 +7,9 @@
#if !defined(TEST_VM_MF_HAS_TEMPLATE_CHECK_PARAMS_HPP)
#define TEST_VM_MF_HAS_TEMPLATE_CHECK_PARAMS_HPP
-#include <boost/config.hpp>
+#include <boost/preprocessor/config/config.hpp>
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
#include "test_structs.hpp"
#include <boost/tti/vm_template_params.hpp>
@@ -33,6 +33,6 @@
BOOST_TTI_MTFC_MEMBER_TYPE(CType)
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
#endif // TEST_VM_MF_HAS_TEMPLATE_CHECK_PARAMS_HPP
Modified: trunk/libs/tti/test/test_vm_mf_has_template_cp_compile.cpp
==============================================================================
--- trunk/libs/tti/test/test_vm_mf_has_template_cp_compile.cpp (original)
+++ trunk/libs/tti/test/test_vm_mf_has_template_cp_compile.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,7 +10,7 @@
int main()
{
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
using namespace boost::mpl::placeholders;
@@ -78,7 +78,7 @@
>
));
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
return 0;
Modified: trunk/libs/tti/test/test_vm_mf_has_template_cp_fail.cpp
==============================================================================
--- trunk/libs/tti/test/test_vm_mf_has_template_cp_fail.cpp (original)
+++ trunk/libs/tti/test/test_vm_mf_has_template_cp_fail.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,7 +10,7 @@
int main()
{
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
using namespace boost::mpl::placeholders;
@@ -31,7 +31,7 @@
BOOST_MPL_ASSERT((boost::mpl::false_));
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
return 0;
Modified: trunk/libs/tti/test/test_vm_mf_has_template_cp_fail2.cpp
==============================================================================
--- trunk/libs/tti/test/test_vm_mf_has_template_cp_fail2.cpp (original)
+++ trunk/libs/tti/test/test_vm_mf_has_template_cp_fail2.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,7 +10,7 @@
int main()
{
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
using namespace boost::mpl::placeholders;
@@ -31,7 +31,7 @@
BOOST_MPL_ASSERT((boost::mpl::false_));
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
return 0;
Modified: trunk/libs/tti/test/test_vm_mf_has_template_cp_fail3.cpp
==============================================================================
--- trunk/libs/tti/test/test_vm_mf_has_template_cp_fail3.cpp (original)
+++ trunk/libs/tti/test/test_vm_mf_has_template_cp_fail3.cpp 2011-08-18 16:42:54 EDT (Thu, 18 Aug 2011)
@@ -10,7 +10,7 @@
int main()
{
-#if !defined(BOOST_NO_VARIADIC_MACROS)
+#if BOOST_PP_VARIADICS
using namespace boost::mpl::placeholders;
@@ -27,7 +27,7 @@
BOOST_MPL_ASSERT((boost::mpl::false_));
-#endif //!defined(BOOST_NO_VARIADIC_MACROS)
+#endif // BOOST_PP_VARIADICS
return 0;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk