|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69815 - in sandbox/tti: boost/tti boost/tti/gen libs/tti/test
From: eldiener_at_[hidden]
Date: 2011-03-09 21:45:25
Author: eldiener
Date: 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
New Revision: 69815
URL: http://svn.boost.org/trac/boost/changeset/69815
Log:
Updated tests and header file inclusion.
Text files modified:
sandbox/tti/boost/tti/gen/comp_mem_fun_gen.hpp | 1
sandbox/tti/boost/tti/gen/comp_static_mem_fun_gen.hpp | 1
sandbox/tti/boost/tti/gen/mem_data_gen.hpp | 1
sandbox/tti/boost/tti/gen/mem_fun_gen.hpp | 1
sandbox/tti/boost/tti/gen/mem_fun_template_gen.hpp | 1
sandbox/tti/boost/tti/gen/mem_fun_template_params_gen.hpp | 1
sandbox/tti/boost/tti/gen/mem_type_gen.hpp | 1
sandbox/tti/boost/tti/gen/static_mem_data_gen.hpp | 1
sandbox/tti/boost/tti/gen/static_mem_fun_gen.hpp | 1
sandbox/tti/boost/tti/gen/template_gen.hpp | 1
sandbox/tti/boost/tti/gen/template_params_gen.hpp | 1
sandbox/tti/boost/tti/gen/type_gen.hpp | 1
sandbox/tti/boost/tti/gen/vm_template_params_gen.hpp | 1
sandbox/tti/boost/tti/type.hpp | 1
sandbox/tti/libs/tti/test/test_has_mem_data.cpp | 1
sandbox/tti/libs/tti/test/test_has_mem_data_compile.cpp | 1
sandbox/tti/libs/tti/test/test_has_mem_fun.cpp | 1
sandbox/tti/libs/tti/test/test_has_mem_fun_compile.cpp | 1
sandbox/tti/libs/tti/test/test_has_member.cpp | 14 +++---
sandbox/tti/libs/tti/test/test_has_member_compile.cpp | 14 +++---
sandbox/tti/libs/tti/test/test_has_member_fail.cpp | 2
sandbox/tti/libs/tti/test/test_has_member_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_has_static_mem_data.cpp | 6 +-
sandbox/tti/libs/tti/test/test_has_static_mem_data_compile.cpp | 6 +-
sandbox/tti/libs/tti/test/test_has_static_mem_data_fail.cpp | 2
sandbox/tti/libs/tti/test/test_has_static_mem_data_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_has_static_mem_data_fail3.cpp | 2
sandbox/tti/libs/tti/test/test_has_static_mem_fun.cpp | 10 ++--
sandbox/tti/libs/tti/test/test_has_static_mem_fun_compile.cpp | 10 ++--
sandbox/tti/libs/tti/test/test_has_static_mem_fun_fail.cpp | 2
sandbox/tti/libs/tti/test/test_has_static_mem_fun_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_has_static_member.cpp | 10 ++--
sandbox/tti/libs/tti/test/test_has_static_member_compile.cpp | 10 ++--
sandbox/tti/libs/tti/test/test_has_static_member_fail.cpp | 2
sandbox/tti/libs/tti/test/test_has_static_member_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_has_template.cpp | 14 +++---
sandbox/tti/libs/tti/test/test_has_template_compile.cpp | 14 +++---
sandbox/tti/libs/tti/test/test_has_template_cp.cpp | 16 ++++----
sandbox/tti/libs/tti/test/test_has_template_cp_compile.cpp | 16 ++++----
sandbox/tti/libs/tti/test/test_has_template_cp_fail.cpp | 2
sandbox/tti/libs/tti/test/test_has_template_cp_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_has_template_cp_fail3.cpp | 2
sandbox/tti/libs/tti/test/test_has_template_cp_fail4.cpp | 2
sandbox/tti/libs/tti/test/test_has_template_fail.cpp | 2
sandbox/tti/libs/tti/test/test_has_template_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_has_template_fail3.cpp | 2
sandbox/tti/libs/tti/test/test_has_template_fail4.cpp | 2
sandbox/tti/libs/tti/test/test_has_type.cpp | 18 ++++----
sandbox/tti/libs/tti/test/test_has_type_compile.cpp | 20 +++++-----
sandbox/tti/libs/tti/test/test_has_type_ct.cpp | 18 ++++----
sandbox/tti/libs/tti/test/test_has_type_ct_compile.cpp | 20 +++++-----
sandbox/tti/libs/tti/test/test_has_type_ct_fail.cpp | 2
sandbox/tti/libs/tti/test/test_has_type_ct_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_has_type_ct_fail3.cpp | 3 +
sandbox/tti/libs/tti/test/test_has_type_ct_fail4.cpp | 2
sandbox/tti/libs/tti/test/test_has_type_ct_fail5.cpp | 2
sandbox/tti/libs/tti/test/test_has_type_fail.cpp | 2
sandbox/tti/libs/tti/test/test_has_type_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_has_type_fail3.cpp | 2
sandbox/tti/libs/tti/test/test_mem_type.cpp | 16 ++++----
sandbox/tti/libs/tti/test/test_mem_type_compile.cpp | 16 ++++----
sandbox/tti/libs/tti/test/test_mf_has_mem_data.cpp | 46 ++++++++++++------------
sandbox/tti/libs/tti/test/test_mf_has_mem_data_compile.cpp | 48 ++++++++++++------------
sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail3.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_mem_fun.cpp | 28 +++++++-------
sandbox/tti/libs/tti/test/test_mf_has_mem_fun_compile.cpp | 36 +++++++++---------
sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail3.cpp | 4 +-
sandbox/tti/libs/tti/test/test_mf_has_static_data.cpp | 4 +-
sandbox/tti/libs/tti/test/test_mf_has_static_data_compile.cpp | 6 +-
sandbox/tti/libs/tti/test/test_mf_has_static_data_fail.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_static_data_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_static_data_fail3.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_static_fun.cpp | 24 +++++-------
sandbox/tti/libs/tti/test/test_mf_has_static_fun_compile.cpp | 24 ++++++------
sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail3.cpp | 6 +-
sandbox/tti/libs/tti/test/test_mf_has_template.cpp | 28 +++++++-------
sandbox/tti/libs/tti/test/test_mf_has_template_compile.cpp | 26 +++++++-------
sandbox/tti/libs/tti/test/test_mf_has_template_cp.cpp | 40 ++++++++++----------
sandbox/tti/libs/tti/test/test_mf_has_template_cp_compile.cpp | 30 ++++++++--------
sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail.cpp | 6 +-
sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail2.cpp | 4 +-
sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail3.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_template_fail.cpp | 4 +-
sandbox/tti/libs/tti/test/test_mf_has_template_fail2.cpp | 4 +-
sandbox/tti/libs/tti/test/test_mf_has_template_fail3.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_template_fail4.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_type.cpp | 48 ++++++++++++------------
sandbox/tti/libs/tti/test/test_mf_has_type_compile.cpp | 52 ++++++++++++++--------------
sandbox/tti/libs/tti/test/test_mf_has_type_ct.cpp | 72 +++++++++++++++++++-------------------
sandbox/tti/libs/tti/test/test_mf_has_type_ct_compile.cpp | 74 ++++++++++++++++++++--------------------
sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail2.cpp | 4 +-
sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail3.cpp | 4 +-
sandbox/tti/libs/tti/test/test_mf_has_type_fail.cpp | 2
sandbox/tti/libs/tti/test/test_mf_has_type_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_mf_mem_type.cpp | 48 ++++++++++++------------
sandbox/tti/libs/tti/test/test_mf_mem_type_compile.cpp | 48 ++++++++++++------------
sandbox/tti/libs/tti/test/test_vm_has_template_cp.cpp | 16 ++++----
sandbox/tti/libs/tti/test/test_vm_has_template_cp_compile.cpp | 16 ++++----
sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail.cpp | 2
sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail2.cpp | 2
sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail3.cpp | 2
sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail4.cpp | 2
109 files changed, 557 insertions(+), 550 deletions(-)
Modified: sandbox/tti/boost/tti/gen/comp_mem_fun_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/comp_mem_fun_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/comp_mem_fun_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN_BASE(name) \
BOOST_PP_CAT(has_comp_member_function_,name) \
Modified: sandbox/tti/boost/tti/gen/comp_static_mem_fun_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/comp_static_mem_fun_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/comp_static_mem_fun_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_HAS_COMP_STATIC_MEMBER_FUNCTION_GEN_BASE(name) \
BOOST_PP_CAT(has_comp_static_member_function_,name) \
Modified: sandbox/tti/boost/tti/gen/mem_data_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/mem_data_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/mem_data_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_HAS_MEMBER_DATA_GEN_BASE(name) \
BOOST_PP_CAT(has_member_data_,name) \
Modified: sandbox/tti/boost/tti/gen/mem_fun_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/mem_fun_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/mem_fun_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_HAS_MEMBER_FUNCTION_GEN_BASE(name) \
BOOST_PP_CAT(has_member_function_,name) \
Modified: sandbox/tti/boost/tti/gen/mem_fun_template_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/mem_fun_template_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/mem_fun_template_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_HAS_MEMBER_FUNCTION_TEMPLATE_GEN_BASE(name) \
BOOST_PP_CAT(has_member_function_template_,name) \
Modified: sandbox/tti/boost/tti/gen/mem_fun_template_params_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/mem_fun_template_params_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/mem_fun_template_params_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_HAS_MEMBER_FUNCTION_TEMPLATE_PARAMS_GEN_BASE(name) \
BOOST_PP_CAT(has_member_function_template_,name) \
Modified: sandbox/tti/boost/tti/gen/mem_type_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/mem_type_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/mem_type_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_MEMBER_TYPE_GEN_BASE(name) \
BOOST_PP_CAT(member_type_,name) \
Modified: sandbox/tti/boost/tti/gen/static_mem_data_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/static_mem_data_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/static_mem_data_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN_BASE(name) \
BOOST_PP_CAT(has_static_member_data_,name) \
Modified: sandbox/tti/boost/tti/gen/static_mem_fun_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/static_mem_fun_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/static_mem_fun_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_GEN_BASE(name) \
BOOST_PP_CAT(has_static_member_function_,name) \
Modified: sandbox/tti/boost/tti/gen/template_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/template_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/template_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_HAS_TEMPLATE_GEN_BASE(name) \
BOOST_PP_CAT(has_template_,name) \
Modified: sandbox/tti/boost/tti/gen/template_params_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/template_params_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/template_params_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN_BASE(name) \
BOOST_PP_CAT(has_template_check_params_,name) \
Modified: sandbox/tti/boost/tti/gen/type_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/type_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/type_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -3,6 +3,7 @@
#include <boost/config.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_HAS_TYPE_GEN_BASE(name) \
BOOST_PP_CAT(has_type_,name) \
Modified: sandbox/tti/boost/tti/gen/vm_template_params_gen.hpp
==============================================================================
--- sandbox/tti/boost/tti/gen/vm_template_params_gen.hpp (original)
+++ sandbox/tti/boost/tti/gen/vm_template_params_gen.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,6 +6,7 @@
#if !defined(BOOST_NO_VARIADIC_MACROS)
#include <boost/preprocessor/cat.hpp>
+#include "trait_gen.hpp"
#define BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN_BASE(name) \
BOOST_PP_CAT(has_template_check_params_,name) \
Modified: sandbox/tti/boost/tti/type.hpp
==============================================================================
--- sandbox/tti/boost/tti/type.hpp (original)
+++ sandbox/tti/boost/tti/type.hpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,6 +6,7 @@
#include <boost/mpl/identity.hpp>
#include <boost/mpl/placeholders.hpp>
#include <boost/preprocessor/cat.hpp>
+#include "gen/type_gen.hpp"
#include "detail/dtype.hpp"
#include "detail/dnotype.hpp"
Modified: sandbox/tti/libs/tti/test/test_has_mem_data.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_mem_data.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_mem_data.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -1,5 +1,4 @@
#include "test_has_mem_data.hpp"
-#include <boost/tti/gen/trait_gen.hpp>
#include <boost/detail/lightweight_test.hpp>
int main()
Modified: sandbox/tti/libs/tti/test/test_has_mem_data_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_mem_data_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_mem_data_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -1,5 +1,4 @@
#include "test_has_mem_data.hpp"
-#include <boost/tti/gen/trait_gen.hpp>
#include <boost/mpl/assert.hpp>
int main()
Modified: sandbox/tti/libs/tti/test/test_has_mem_fun.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_mem_fun.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_mem_fun.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -1,5 +1,4 @@
#include "test_has_mem_fun.hpp"
-#include <boost/tti/gen/trait_gen.hpp>
#include <boost/detail/lightweight_test.hpp>
int main()
Modified: sandbox/tti/libs/tti/test/test_has_mem_fun_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_mem_fun_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_mem_fun_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -1,5 +1,4 @@
#include "test_has_mem_fun.hpp"
-#include <boost/tti/gen/trait_gen.hpp>
#include <boost/mpl/assert.hpp>
int main()
Modified: sandbox/tti/libs/tti/test/test_has_member.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_member.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_member.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -4,13 +4,13 @@
int main()
{
- BOOST_TEST(boost::tti::has_comp_member_function_VoidFunction<void (AType::*)()>::value);
- BOOST_TEST(boost::tti::FunctionReturningInt<int (AType::*)()>::value);
- BOOST_TEST(boost::tti::FunctionReturningInt<double (AnotherType::*)(int)>::value);
- BOOST_TEST(boost::tti::has_comp_member_function_aFunction<AType (AnotherType::*)(int)>::value);
- BOOST_TEST(boost::tti::AnotherIntFunction<int (AnotherType::*)(AType)>::value);
- BOOST_TEST(boost::tti::has_comp_member_function_sFunction<AType::AnIntType (AnotherType::*)(int,long,double)>::value);
- BOOST_TEST(!boost::tti::has_comp_member_function_someFunctionMember<AType (AnotherType::*)(long,int)>::value);
+ 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(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(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);
return boost::report_errors();
Modified: sandbox/tti/libs/tti/test/test_has_member_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_member_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_member_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,16 +6,16 @@
// You can always instantiate without compiler errors
- boost::tti::has_comp_member_function_someFunctionMember<double (AnotherType::*)(short,short,long,int)> aVar3;
+ BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(someFunctionMember)<double (AnotherType::*)(short,short,long,int)> aVar3;
// Compile time asserts
- BOOST_MPL_ASSERT((boost::tti::has_comp_member_function_VoidFunction<void (AType::*)()>));
- BOOST_MPL_ASSERT((boost::tti::FunctionReturningInt<int (AType::*)()>));
- BOOST_MPL_ASSERT((boost::tti::FunctionReturningInt<double (AnotherType::*)(int)>));
- BOOST_MPL_ASSERT((boost::tti::has_comp_member_function_aFunction<AType (AnotherType::*)(int)>));
- BOOST_MPL_ASSERT((boost::tti::AnotherIntFunction<int (AnotherType::*)(AType)>));
- BOOST_MPL_ASSERT((boost::tti::has_comp_member_function_sFunction<AType::AnIntType (AnotherType::*)(int,long,double)>));
+ 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((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((BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(sFunction)<AType::AnIntType (AnotherType::*)(int,long,double)>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_member_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_member_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_member_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Wrong function signature for sFunction
- BOOST_MPL_ASSERT(( boost::tti::has_comp_member_function_sFunction<AType::AnIntType (AnotherType::*)(short,long,double)> ));
+ BOOST_MPL_ASSERT(( BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(sFunction)<AType::AnIntType (AnotherType::*)(short,long,double)> ));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_member_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_member_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_member_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -5,7 +5,7 @@
// Function signature has type which does not exist
- boost::tti::has_comp_member_function_sFunction<AType::AnIntType (NVType::*)(short,long,double)> aVar;
+ BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(sFunction)<AType::AnIntType (NVType::*)(short,long,double)> aVar;
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_static_mem_data.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_mem_data.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_mem_data.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -4,9 +4,9 @@
int main()
{
- BOOST_TEST((boost::tti::has_static_member_data_DSMember<AType,short>::value));
- BOOST_TEST((!boost::tti::has_static_member_data_SomeStaticData<AnotherType,float>::value));
- BOOST_TEST((boost::tti::StatName<AnotherType,AType::AStructType>::value));
+ 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));
return boost::report_errors();
Modified: sandbox/tti/libs/tti/test/test_has_static_mem_data_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_mem_data_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_mem_data_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,12 +6,12 @@
// You can always instantiate without compiler errors
- boost::tti::has_static_member_data_SomeStaticData<AnotherType,long> aVar2;
+ BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(SomeStaticData)<AnotherType,long> aVar2;
// Compile time asserts
- BOOST_MPL_ASSERT((boost::tti::has_static_member_data_DSMember<AType,short>));
- BOOST_MPL_ASSERT((boost::tti::StatName<AnotherType,AType::AStructType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(DSMember)<AType,short>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(StatName)<AnotherType,AType::AStructType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_static_mem_data_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_mem_data_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_mem_data_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// SomeStaticData does not exist at all
- BOOST_MPL_ASSERT((boost::tti::has_static_member_data_SomeStaticData<AnotherType,float>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(SomeStaticData)<AnotherType,float>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_static_mem_data_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_mem_data_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_mem_data_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Wrong enclosing type for DSMember
- BOOST_MPL_ASSERT((boost::tti::has_static_member_data_DSMember<AnotherType,short>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(DSMember)<AnotherType,short>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_static_mem_data_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_mem_data_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_mem_data_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -5,7 +5,7 @@
// Data signature has type which does not exist
- boost::tti::has_static_member_data_DSMember<NoType,short> aVar;
+ BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(DSMember)<NoType,short> aVar;
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_static_mem_fun.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_mem_fun.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_mem_fun.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -4,11 +4,11 @@
int main()
{
- BOOST_TEST((boost::tti::HaveTheSIntFunction<AType,int,boost::mpl::vector<long,double> >::value));
- BOOST_TEST((!boost::tti::TheTIntFunction<AType,AType,boost::mpl::vector<long,double> >::value));
- BOOST_TEST((boost::tti::TheTIntFunction<AnotherType,AType,boost::mpl::vector<long,double> >::value));
- BOOST_TEST((boost::tti::has_static_member_function_TSFunction<AnotherType,AType::AStructType,boost::mpl::vector<AType::AnIntType,double> >::value));
- BOOST_TEST((!boost::tti::Pickedname<AnotherType,void>::value));
+ 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((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));
return boost::report_errors();
Modified: sandbox/tti/libs/tti/test/test_has_static_mem_fun_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_mem_fun_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_mem_fun_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,14 +6,14 @@
// You can always instantiate without compiler errors
- boost::tti::TheTIntFunction<AType,void,boost::mpl::vector<long,double> > aVar;
- boost::tti::Pickedname<AnotherType,AType,boost::mpl::vector<long,long> > aVar3;
+ 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;
// Compile time asserts
- BOOST_MPL_ASSERT((boost::tti::HaveTheSIntFunction<AType,int,boost::mpl::vector<long,double> >));
- BOOST_MPL_ASSERT((boost::tti::TheTIntFunction<AnotherType,AType,boost::mpl::vector<long,double> >));
- BOOST_MPL_ASSERT((boost::tti::has_static_member_function_TSFunction<AnotherType,AType::AStructType,boost::mpl::vector<AType::AnIntType,double> >));
+ 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((BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_GEN(TSFunction)<AnotherType,AType::AStructType,boost::mpl::vector<AType::AnIntType,double> >));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_static_mem_fun_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_mem_fun_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_mem_fun_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Wrong function signature for SIntFunction
- BOOST_MPL_ASSERT((boost::tti::HaveTheSIntFunction<AType,int,boost::mpl::vector<float,double> >));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<AType,int,boost::mpl::vector<float,double> >));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_static_mem_fun_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_mem_fun_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_mem_fun_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -5,7 +5,7 @@
// Function signature has type which does not exist
- boost::tti::has_static_member_TSFunction<AnotherType,AType::AClassType,boost::mpl::vector<AType::AnIntType,double> > aVar;
+ BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_GEN(TSFunction)<AnotherType,AType::AClassType,boost::mpl::vector<AType::AnIntType,double> > aVar;
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_static_member.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_member.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_member.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -4,11 +4,11 @@
int main()
{
- BOOST_TEST((boost::tti::HaveTheSIntFunction<AType,int (long,double)>::value));
- BOOST_TEST((!boost::tti::TheTIntFunction<AType,AType (long,double)>::value));
- BOOST_TEST((boost::tti::TheTIntFunction<AnotherType,AType (long,double)>::value));
- BOOST_TEST((boost::tti::has_comp_static_member_function_TSFunction<AnotherType,AType::AStructType (AType::AnIntType,double)>::value));
- BOOST_TEST((!boost::tti::Pickedname<AnotherType,void ()>::value));
+ 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((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));
return boost::report_errors();
Modified: sandbox/tti/libs/tti/test/test_has_static_member_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_member_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_member_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,14 +6,14 @@
// You can always instantiate without compiler errors
- boost::tti::TheTIntFunction<AType,void (long,double)> aVar;
- boost::tti::Pickedname<AnotherType,AType (long,long)> aVar3;
+ BOOST_TTI_TRAIT_GEN(TheTIntFunction<AType),void (long,double)> aVar;
+ BOOST_TTI_TRAIT_GEN(Pickedname)<AnotherType,AType (long,long)> aVar3;
// Compile time asserts
- BOOST_MPL_ASSERT((boost::tti::HaveTheSIntFunction<AType,int (long,double)>));
- BOOST_MPL_ASSERT((boost::tti::TheTIntFunction<AnotherType,AType (long,double)>));
- BOOST_MPL_ASSERT((boost::tti::has_comp_static_member_function_TSFunction<AnotherType,AType::AStructType (AType::AnIntType,double)>));
+ 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((BOOST_TTI_HAS_COMP_STATIC_MEMBER_FUNCTION_GEN(TSFunction)<AnotherType,AType::AStructType (AType::AnIntType,double)>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_static_member_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_member_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_member_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Wrong function signature for SIntFunction
- BOOST_MPL_ASSERT((boost::tti::HaveTheSIntFunction<AType,int (float,double)>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<AType,int (float,double)>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_static_member_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_static_member_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_static_member_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -5,7 +5,7 @@
// Function signature has type which does not exist
- boost::tti::has_comp_static_member_function_TSFunction<AnotherType,AType::AClassType (AType::AnIntType,double)> aVar;
+ BOOST_TTI_HAS_COMP_STATIC_MEMBER_FUNCTION_GEN(TSFunction)<AnotherType,AType::AClassType (AType::AnIntType,double)> aVar;
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_template.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -4,13 +4,13 @@
int main()
{
- BOOST_TEST(boost::tti::has_template_ATPMemberTemplate<AType>::value);
- BOOST_TEST(boost::tti::HaveCL<AType>::value);
- BOOST_TEST(!boost::tti::has_template_AMemberTemplate<AType>::value);
- BOOST_TEST(!boost::tti::HaveAnotherMT<AType>::value);
- BOOST_TEST(!boost::tti::has_template_SomeMemberTemplate<AnotherType>::value);
- BOOST_TEST(!boost::tti::ATemplateWithParms<AnotherType>::value);
- BOOST_TEST(boost::tti::has_template_SimpleTMP<AnotherType>::value);
+ BOOST_TEST(BOOST_TTI_HAS_TEMPLATE_GEN(ATPMemberTemplate)<AType>::value);
+ BOOST_TEST(BOOST_TTI_TRAIT_GEN(HaveCL)<AType>::value);
+ BOOST_TEST(!BOOST_TTI_HAS_TEMPLATE_GEN(AMemberTemplate)<AType>::value);
+ BOOST_TEST(!BOOST_TTI_TRAIT_GEN(HaveAnotherMT)<AType>::value);
+ BOOST_TEST(!BOOST_TTI_HAS_TEMPLATE_GEN(SomeMemberTemplate)<AnotherType>::value);
+ BOOST_TEST(!BOOST_TTI_TRAIT_GEN(ATemplateWithParms)<AnotherType>::value);
+ BOOST_TEST(BOOST_TTI_HAS_TEMPLATE_GEN(SimpleTMP)<AnotherType>::value);
return boost::report_errors();
Modified: sandbox/tti/libs/tti/test/test_has_template_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,16 +6,16 @@
// You can always instantiate without compiler errors
- boost::tti::has_template_AMemberTemplate<AnotherType> aVar;
- boost::tti::HaveAnotherMT<AnotherType> aVar2;
- boost::tti::has_template_SomeMemberTemplate<AType> aVar3;
- boost::tti::has_template_TemplateNotExist<AType> aVar4;
+ BOOST_TTI_HAS_TEMPLATE_GEN(AMemberTemplate)<AnotherType> aVar;
+ BOOST_TTI_TRAIT_GEN(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_ATPMemberTemplate<AType>));
- BOOST_MPL_ASSERT((boost::tti::HaveCL<AType>));
- BOOST_MPL_ASSERT((boost::tti::has_template_SimpleTMP<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_GEN(ATPMemberTemplate)<AType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveCL)<AType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_GEN(SimpleTMP)<AnotherType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_template_cp.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template_cp.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template_cp.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -4,14 +4,14 @@
int main()
{
- BOOST_TEST(boost::tti::has_template_check_params_ATPMemberTemplate<AType>::value);
- BOOST_TEST(boost::tti::HaveCL<AType>::value);
- BOOST_TEST(boost::tti::has_template_check_params_AMemberTemplate<AType>::value);
- BOOST_TEST(boost::tti::HaveAnotherMT<AType>::value);
- BOOST_TEST(boost::tti::has_template_check_params_SomeMemberTemplate<AnotherType>::value);
- BOOST_TEST(boost::tti::ATemplateWithParms<AnotherType>::value);
- BOOST_TEST(boost::tti::has_template_check_params_SimpleTMP<AnotherType>::value);
- BOOST_TEST(!boost::tti::has_template_check_params_TemplateNotExist<AnotherType>::value);
+ BOOST_TEST(BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(ATPMemberTemplate)<AType>::value);
+ BOOST_TEST(BOOST_TTI_TRAIT_GEN(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(BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(SomeMemberTemplate)<AnotherType>::value);
+ BOOST_TEST(BOOST_TTI_TRAIT_GEN(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);
return boost::report_errors();
Modified: sandbox/tti/libs/tti/test/test_has_template_cp_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template_cp_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template_cp_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,17 +6,17 @@
// You can always instantiate without compiler errors
- boost::tti::has_template_check_params_TemplateNotExist<AnotherType> aVar1;
+ BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(TemplateNotExist)<AnotherType> aVar1;
// Compile time asserts
- BOOST_MPL_ASSERT((boost::tti::has_template_check_params_ATPMemberTemplate<AType>));
- BOOST_MPL_ASSERT((boost::tti::HaveCL<AType>));
- BOOST_MPL_ASSERT((boost::tti::has_template_check_params_AMemberTemplate<AType>));
- BOOST_MPL_ASSERT((boost::tti::HaveAnotherMT<AType>));
- BOOST_MPL_ASSERT((boost::tti::has_template_check_params_SomeMemberTemplate<AnotherType>));
- BOOST_MPL_ASSERT((boost::tti::ATemplateWithParms<AnotherType>));
- BOOST_MPL_ASSERT((boost::tti::has_template_check_params_SimpleTMP<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(ATPMemberTemplate)<AType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(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((BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(SomeMemberTemplate)<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(ATemplateWithParms)<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(SimpleTMP)<AnotherType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_template_cp_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template_cp_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template_cp_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// TemplateNotExist does not exist at all
- BOOST_MPL_ASSERT((boost::tti::has_template_check_params_TemplateNotExist<AType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(TemplateNotExist)<AType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_template_cp_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template_cp_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template_cp_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Wrong enclosing type
- BOOST_MPL_ASSERT((boost::tti::HaveCL<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveCL)<AnotherType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_template_cp_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template_cp_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template_cp_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Wrong template parameters
- BOOST_MPL_ASSERT((boost::tti::WrongParametersForMP<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(WrongParametersForMP)<AnotherType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_template_cp_fail4.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template_cp_fail4.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template_cp_fail4.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Wrong template parameters
- BOOST_MPL_ASSERT((boost::tti::WrongParameters2ForMP<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(WrongParameters2ForMP)<AnotherType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_template_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// TemplateNotExist does not exist at all
- BOOST_MPL_ASSERT((boost::tti::has_template_TemplateNotExist<AType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_GEN(TemplateNotExist)<AType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_template_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Wrong enclosing type
- BOOST_MPL_ASSERT((boost::tti::has_template_ATPMemberTemplate<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_GEN(ATPMemberTemplate)<AnotherType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_template_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Too many 'typename' parameters
- BOOST_MPL_ASSERT((boost::tti::has_template_SomeMemberTemplate<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TEMPLATE_GEN(SomeMemberTemplate)<AnotherType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_template_fail4.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_template_fail4.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_template_fail4.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Not all 'typename' parameters
- BOOST_MPL_ASSERT((boost::tti::HaveAnotherMT<AType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveAnotherMT)<AType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_type.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -4,15 +4,15 @@
int main()
{
- BOOST_TEST(boost::tti::has_type_AnIntType<AType>::value);
- BOOST_TEST(boost::tti::has_type_AnIntTypeReference<AType>::value);
- BOOST_TEST(boost::tti::NameStruct<AType>::value);
- BOOST_TEST(boost::tti::has_type_BType<AType>::value);
- BOOST_TEST(boost::tti::TheInteger<AType::BType>::value);
- BOOST_TEST(boost::tti::has_type_CType<AType::BType>::value);
- BOOST_TEST(boost::tti::has_type_AnotherIntegerType<AType::BType::CType>::value);
- BOOST_TEST(boost::tti::SomethingElse<AnotherType>::value);
- BOOST_TEST(!boost::tti::has_type_NoOtherType<AnotherType>::value);
+ 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(BOOST_TTI_HAS_TYPE_GEN(BType)<AType>::value);
+ BOOST_TEST(BOOST_TTI_TRAIT_GEN(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(!BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<AnotherType>::value);
return boost::report_errors();
Modified: sandbox/tti/libs/tti/test/test_has_type_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,19 +6,19 @@
// You can always instantiate without compiler errors
- boost::tti::has_type_AnIntType<AnotherType> aVar1;
- boost::tti::has_type_NoOtherType<AType> aVar2;
+ BOOST_TTI_HAS_TYPE_GEN(AnIntType)<AnotherType> aVar1;
+ BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<AType> aVar2;
// Compile time asserts
- BOOST_MPL_ASSERT((boost::tti::has_type_AnIntType<AType>));
- BOOST_MPL_ASSERT((boost::tti::has_type_AnIntTypeReference<AType>));
- BOOST_MPL_ASSERT((boost::tti::NameStruct<AType>));
- BOOST_MPL_ASSERT((boost::tti::has_type_BType<AType>));
- BOOST_MPL_ASSERT((boost::tti::TheInteger<AType::BType>));
- BOOST_MPL_ASSERT((boost::tti::has_type_CType<AType::BType>));
- BOOST_MPL_ASSERT((boost::tti::has_type_AnotherIntegerType<AType::BType::CType>));
- BOOST_MPL_ASSERT((boost::tti::SomethingElse<AnotherType>));
+ 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((BOOST_TTI_HAS_TYPE_GEN(BType)<AType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(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>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_type_ct.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type_ct.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type_ct.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -4,15 +4,15 @@
int main()
{
- BOOST_TEST((boost::tti::has_type_AnIntType<AType,int>::value));
- BOOST_TEST((boost::tti::NameStruct<AType,AType::AStructType>::value));
- BOOST_TEST((boost::tti::has_type_AnIntTypeReference<AType,int &>::value));
- BOOST_TEST((boost::tti::has_type_BType<AType,AType::BType>::value));
- BOOST_TEST((boost::tti::TheInteger<AType::BType,int>::value));
- BOOST_TEST((boost::tti::has_type_CType<AType::BType,AType::BType::CType>::value));
- BOOST_TEST((boost::tti::has_type_AnotherIntegerType<AType::BType::CType,int>::value));
- BOOST_TEST((boost::tti::SomethingElse<AnotherType,AType::AnIntType>::value));
- BOOST_TEST((!boost::tti::has_type_NoOtherType<AnotherType,double>::value));
+ BOOST_TEST((BOOST_TTI_HAS_TYPE_GEN(AnIntType)<AType,int>::value));
+ BOOST_TEST((BOOST_TTI_TRAIT_GEN(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((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((!BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<AnotherType,double>::value));
return boost::report_errors();
Modified: sandbox/tti/libs/tti/test/test_has_type_ct_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type_ct_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type_ct_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,19 +6,19 @@
// You can always instantiate without compiler errors
- boost::tti::TheInteger<AType::BType,short> aVar;
- boost::tti::has_type_NoOtherType<AnotherType,double> aVar2;
+ BOOST_TTI_TRAIT_GEN(TheInteger)<AType::BType,short> aVar;
+ BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<AnotherType,double> aVar2;
// Compile time asserts
- BOOST_MPL_ASSERT((boost::tti::has_type_AnIntType<AType,int>));
- BOOST_MPL_ASSERT((boost::tti::NameStruct<AType,AType::AStructType>));
- BOOST_MPL_ASSERT((boost::tti::has_type_AnIntTypeReference<AType,int &>));
- BOOST_MPL_ASSERT((boost::tti::has_type_BType<AType,AType::BType>));
- BOOST_MPL_ASSERT((boost::tti::TheInteger<AType::BType,int>));
- BOOST_MPL_ASSERT((boost::tti::has_type_CType<AType::BType,AType::BType::CType>));
- BOOST_MPL_ASSERT((boost::tti::has_type_AnotherIntegerType<AType::BType::CType,int>));
- BOOST_MPL_ASSERT((boost::tti::SomethingElse<AnotherType,AType::AnIntType>));
+ 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((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((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>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_type_ct_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type_ct_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type_ct_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// NoOtherType does not exist at all
- BOOST_MPL_ASSERT((boost::tti::has_type_NoOtherType<AType,int>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<AType,int>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_type_ct_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type_ct_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type_ct_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Wrong enclosing type
- BOOST_MPL_ASSERT((boost::tti::has_type_BType<AnotherType,short>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(BType)<AnotherType,short>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_type_ct_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type_ct_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type_ct_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -1,11 +1,12 @@
#include "test_has_type_ct.hpp"
+#include <boost/tti/gen/trait_gen.hpp>
int main()
{
// Enclosing type does not exist
- boost::tti::TheInteger<AType::EType,double> aVar;
+ BOOST_TTI_TRAIT_GEN(TheInteger)<AType::EType,double> aVar;
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_type_ct_fail4.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type_ct_fail4.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type_ct_fail4.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -5,7 +5,7 @@
// Typedef type does not exist ( BType is a nested type )
- boost::tti::has_type_BType<AType,BType> aVar;
+ BOOST_TTI_HAS_TYPE_GEN(BType)<AType,BType> aVar;
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_type_ct_fail5.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type_ct_fail5.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type_ct_fail5.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Wrong typedef type
- BOOST_MPL_ASSERT((boost::tti::has_type_AnotherIntegerType<AType::BType::CType,long>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(AnotherIntegerType)<AType::BType::CType,long>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_type_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// NoOtherType does not exist at all
- BOOST_MPL_ASSERT((boost::tti::has_type_NoOtherType<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<AnotherType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_type_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,7 +6,7 @@
// Wrong enclosing type
- BOOST_MPL_ASSERT((boost::tti::has_type_BType<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(BType)<AnotherType>));
return 0;
Modified: sandbox/tti/libs/tti/test/test_has_type_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_type_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_has_type_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -5,7 +5,7 @@
// Enclosing type does not exist
- boost::tti::TheInteger<AType::EType> aVar;
+ BOOST_TTI_TRAIT_GEN(TheInteger)<AType::EType> aVar;
return 0;
Modified: sandbox/tti/libs/tti/test/test_mem_type.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mem_type.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mem_type.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -4,14 +4,14 @@
int main()
{
- BOOST_TEST(boost::tti::mf_valid_member_type<boost::tti::member_type_AnIntType<AType> >::value);
- BOOST_TEST(boost::tti::mf_valid_member_type<boost::tti::NameStruct<AType> >::value);
- BOOST_TEST(boost::tti::mf_valid_member_type<boost::tti::member_type_AnIntTypeReference<AType> >::value);
- BOOST_TEST(boost::tti::mf_valid_member_type<boost::tti::member_type_BType<AType> >::value);
- BOOST_TEST(boost::tti::mf_valid_member_type<boost::tti::TheInteger<AType::BType> >::value);
- BOOST_TEST(boost::tti::mf_valid_member_type<boost::tti::member_type_CType<AType::BType> >::value);
- BOOST_TEST(boost::tti::mf_valid_member_type<boost::tti::member_type_AnotherIntegerType<AType::BType::CType> >::value);
- BOOST_TEST(boost::tti::mf_valid_member_type<boost::tti::SomethingElse<AnotherType> >::value);
+ 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<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<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);
return boost::report_errors();
Modified: sandbox/tti/libs/tti/test/test_mem_type_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mem_type_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mem_type_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -4,14 +4,14 @@
int main()
{
- BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<boost::tti::member_type_AnIntType<AType> >));
- BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<boost::tti::NameStruct<AType> >));
- BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<boost::tti::member_type_AnIntTypeReference<AType> >));
- BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<boost::tti::member_type_BType<AType> >));
- BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<boost::tti::TheInteger<AType::BType> >));
- BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<boost::tti::member_type_CType<AType::BType> >));
- BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<boost::tti::member_type_AnotherIntegerType<AType::BType::CType> >));
- BOOST_MPL_ASSERT((boost::tti::mf_valid_member_type<boost::tti::SomethingElse<AnotherType> >));
+ 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<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<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> >));
return 0;
Modified: sandbox/tti/libs/tti/test/test_mf_has_mem_data.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_mem_data.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_mem_data.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,7 +8,7 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_AnInt<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(AnInt)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -17,7 +17,7 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_AnInt<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(AnInt)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<long>
>
@@ -26,7 +26,7 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_aMember<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(aMember)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<bool>
>
@@ -35,7 +35,7 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::CMember<_,_>,
+ BOOST_TTI_TRAIT_GEN(CMember)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<bool>
>
@@ -44,21 +44,21 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_IntBT<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(IntBT)<_,_>,
boost::mpl::identity<AType>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::NestedData<_,_>,
+ BOOST_TTI_TRAIT_GEN(NestedData)<_,_>,
boost::mpl::identity<AType>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
::value
@@ -66,7 +66,7 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::AOther<_,_>,
+ BOOST_TTI_TRAIT_GEN(AOther)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>
>
@@ -75,16 +75,16 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_ONestStr<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(ONestStr)<_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::mtfc_has_member_data_AnInt,
+ BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN(AnInt),
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -93,7 +93,7 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::mtfc_has_member_data_AnInt,
+ BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN(AnInt),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<long>
>
@@ -102,7 +102,7 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::mtfc_has_member_data_aMember,
+ BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN(aMember),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<bool>
>
@@ -111,7 +111,7 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::MFCMember,
+ BOOST_TTI_TRAIT_GEN(MFCMember),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<bool>
>
@@ -120,21 +120,21 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::mtfc_has_member_data_IntBT,
+ BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN(IntBT),
boost::mpl::identity<AType>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::MFNestedData,
+ BOOST_TTI_TRAIT_GEN(MFNestedData),
boost::mpl::identity<AType>,
boost::tti::mf_member_type
<
boost::tti::mtfc_member_type_CType,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
::value
@@ -142,7 +142,7 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::MFAOther,
+ BOOST_TTI_TRAIT_GEN(MFAOther),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>
>
@@ -151,9 +151,9 @@
BOOST_TEST((boost::tti::mf_has_member_data
<
- boost::tti::mtfc_has_member_data_ONestStr,
+ BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN(ONestStr),
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
::value
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_mem_data_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_mem_data_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_mem_data_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,7 +8,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_AnInt<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(AnInt)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -16,7 +16,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_AnInt<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(AnInt)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<long>
>
@@ -24,7 +24,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_aMember<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(aMember)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<bool>
>
@@ -32,7 +32,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::CMember<_,_>,
+ BOOST_TTI_TRAIT_GEN(CMember)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<bool>
>
@@ -40,27 +40,27 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_IntBT<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(IntBT)<_,_>,
boost::mpl::identity<AType>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::NestedData<_,_>,
+ BOOST_TTI_TRAIT_GEN(NestedData)<_,_>,
boost::mpl::identity<AType>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::AOther<_,_>,
+ BOOST_TTI_TRAIT_GEN(AOther)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>
>
@@ -68,15 +68,15 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_ONestStr<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(ONestStr)<_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::mtfc_has_member_data_AnInt,
+ BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN(AnInt),
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -84,7 +84,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::mtfc_has_member_data_AnInt,
+ BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN(AnInt),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<long>
>
@@ -92,7 +92,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::mtfc_has_member_data_aMember,
+ BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN(aMember),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<bool>
>
@@ -100,7 +100,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::MFCMember,
+ BOOST_TTI_TRAIT_GEN(MFCMember),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<bool>
>
@@ -108,27 +108,27 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::mtfc_has_member_data_IntBT,
+ BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN(IntBT),
boost::mpl::identity<AType>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::MFNestedData,
+ BOOST_TTI_TRAIT_GEN(MFNestedData),
boost::mpl::identity<AType>,
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_CType,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::MFAOther,
+ BOOST_TTI_TRAIT_GEN(MFAOther),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>
>
@@ -136,9 +136,9 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::mtfc_has_member_data_ONestStr,
+ BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN(ONestStr),
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_someDataMember<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(someDataMember)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<short>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_AnInt<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(AnInt)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<double>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_mem_data_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_data
<
- boost::tti::has_member_data_aMember<_,_>,
+ BOOST_TTI_HAS_MEMBER_DATA_GEN(aMember)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<bool>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_mem_fun.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_mem_fun.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_mem_fun.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,7 +8,7 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::has_member_function_VoidFunction<_,_>,
+ BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(VoidFunction)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<void>
>
@@ -17,7 +17,7 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::FunctionReturningInt<_,_>,
+ BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -26,7 +26,7 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::FunctionReturningInt<_,_,_>,
+ BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<_,_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<double>,
boost::mpl::vector<boost::mpl::identity<int> >
@@ -36,7 +36,7 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::has_member_function_aFunction<_,_,_>,
+ BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(aFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>,
boost::mpl::vector<boost::mpl::identity<int> >
@@ -46,7 +46,7 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::AnotherIntFunction<_,_,_>,
+ BOOST_TTI_TRAIT_GEN(AnotherIntFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<int>,
boost::mpl::vector<boost::mpl::identity<AType> >
@@ -56,9 +56,9 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::has_member_function_sFunction<_,_,_>,
+ BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(sFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AnIntType<AType>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AType>,
boost::mpl::vector
<
boost::mpl::identity<int>,
@@ -71,7 +71,7 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::mtfc_has_member_function_VoidFunction,
+ BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_GEN(VoidFunction),
boost::mpl::identity<AType>,
boost::mpl::identity<void>
>
@@ -80,7 +80,7 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::MFFunctionReturningInt,
+ BOOST_TTI_TRAIT_GEN(MFFunctionReturningInt),
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -89,7 +89,7 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::MFFunctionReturningInt,
+ BOOST_TTI_TRAIT_GEN(MFFunctionReturningInt),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<double>,
boost::mpl::vector<boost::mpl::identity<int> >
@@ -99,7 +99,7 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::mtfc_has_member_function_aFunction,
+ BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_GEN(aFunction),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>,
boost::mpl::vector<boost::mpl::identity<int> >
@@ -109,7 +109,7 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::MFAnotherIntFunction,
+ BOOST_TTI_TRAIT_GEN(MFAnotherIntFunction),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<int>,
boost::mpl::vector<boost::mpl::identity<AType> >
@@ -119,9 +119,9 @@
BOOST_TEST((boost::tti::mf_has_member_function
<
- boost::tti::mtfc_has_member_function_sFunction,
+ BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_GEN(sFunction),
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AnIntType<AType>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AType>,
boost::mpl::vector
<
boost::mpl::identity<int>,
Modified: sandbox/tti/libs/tti/test/test_mf_has_mem_fun_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_mem_fun_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_mem_fun_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,16 +10,16 @@
boost::tti::mf_has_member_function
<
- boost::tti::FunctionReturningInt<_,_>,
+ BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<short>
> aVar;
boost::tti::mf_has_member_function
<
- boost::tti::has_member_function_sFunction<_,_,_>,
+ BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(sFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AnIntType<AnotherType>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AnotherType>,
boost::mpl::vector
<
boost::mpl::identity<int>,
@@ -30,7 +30,7 @@
boost::tti::mf_has_member_function
<
- boost::tti::has_member_function_someFunctionMember<_,_,_>,
+ BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(someFunctionMember)<_,_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<short>,
boost::mpl::vector
@@ -45,7 +45,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::has_member_function_VoidFunction<_,_>,
+ BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(VoidFunction)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<void>
>
@@ -53,7 +53,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::FunctionReturningInt<_,_>,
+ BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -61,7 +61,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::FunctionReturningInt<_,_,_>,
+ BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<_,_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<double>,
boost::mpl::vector<boost::mpl::identity<int> >
@@ -70,7 +70,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::has_member_function_aFunction<_,_,_>,
+ BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(aFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>,
boost::mpl::vector<boost::mpl::identity<int> >
@@ -79,7 +79,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::AnotherIntFunction<_,_,_>,
+ BOOST_TTI_TRAIT_GEN(AnotherIntFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<int>,
boost::mpl::vector<boost::mpl::identity<AType> >
@@ -88,9 +88,9 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::has_member_function_sFunction<_,_,_>,
+ BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(sFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AnIntType<AType>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AType>,
boost::mpl::vector
<
boost::mpl::identity<int>,
@@ -102,7 +102,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::mtfc_has_member_function_VoidFunction,
+ BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_GEN(VoidFunction),
boost::mpl::identity<AType>,
boost::mpl::identity<void>
>
@@ -110,7 +110,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::MFFunctionReturningInt,
+ BOOST_TTI_TRAIT_GEN(MFFunctionReturningInt),
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -118,7 +118,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::MFFunctionReturningInt,
+ BOOST_TTI_TRAIT_GEN(MFFunctionReturningInt),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<double>,
boost::mpl::vector<boost::mpl::identity<int> >
@@ -127,7 +127,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::mtfc_has_member_function_aFunction,
+ BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_GEN(aFunction),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>,
boost::mpl::vector<boost::mpl::identity<int> >
@@ -136,7 +136,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::MFAnotherIntFunction,
+ BOOST_TTI_TRAIT_GEN(MFAnotherIntFunction),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<int>,
boost::mpl::vector<boost::mpl::identity<AType> >
@@ -145,9 +145,9 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::mtfc_has_member_function_sFunction,
+ BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_GEN(sFunction),
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AnIntType<AType>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AType>,
boost::mpl::vector
<
boost::mpl::identity<int>,
Modified: sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::has_member_function_someFunctionMember<_,_,_>,
+ BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(someFunctionMember)<_,_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<short>,
boost::mpl::vector
Modified: sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::FunctionReturningInt<_,_>,
+ BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<short>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_mem_fun_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,9 +10,9 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
<
- boost::tti::has_member_function_sFunction<_,_,_>,
+ BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(sFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AnIntType<AnotherType>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AnotherType>,
boost::mpl::vector
<
boost::mpl::identity<int>,
Modified: sandbox/tti/libs/tti/test/test_mf_has_static_data.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_static_data.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_static_data.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,7 +8,7 @@
BOOST_TEST((boost::tti::mf_has_static_member_data
<
- boost::tti::has_static_member_data_DSMember<_,_>,
+ BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(DSMember)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<short>
>
@@ -17,7 +17,7 @@
BOOST_TEST((boost::tti::mf_has_static_member_data
<
- boost::tti::mtfc_has_static_member_data_DSMember,
+ BOOST_TTI_MTFC_HAS_STATIC_MEMBER_DATA_GEN(DSMember),
boost::mpl::identity<AType>,
boost::mpl::identity<short>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_static_data_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_static_data_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_static_data_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
boost::tti::mf_has_static_member_data
<
- boost::tti::has_static_member_data_SomeStaticData<_,_>,
+ BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(SomeStaticData)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<double>
> aVar;
@@ -19,7 +19,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_data
<
- boost::tti::has_static_member_data_DSMember<_,_>,
+ BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(DSMember)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<short>
>
@@ -27,7 +27,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_data
<
- boost::tti::mtfc_has_static_member_data_DSMember,
+ BOOST_TTI_MTFC_HAS_STATIC_MEMBER_DATA_GEN(DSMember),
boost::mpl::identity<AType>,
boost::mpl::identity<short>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_static_data_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_static_data_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_static_data_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_data
<
- boost::tti::has_static_member_data_SomeStaticData<_,_>,
+ BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(SomeStaticData)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<int>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_static_data_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_static_data_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_static_data_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_data
<
- boost::tti::has_static_member_data_DSMember<_,_>,
+ BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(DSMember)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<short>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_static_data_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_static_data_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_static_data_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_data
<
- boost::tti::has_static_member_data_DSMember<_,_>,
+ BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(DSMember)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_static_fun.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_static_fun.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_static_fun.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,7 +8,7 @@
BOOST_TEST((boost::tti::mf_has_static_member_function
<
- boost::tti::HaveTheSIntFunction<_,_,_>,
+ BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<_,_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int>,
boost::mpl::vector
@@ -22,7 +22,7 @@
BOOST_TEST((boost::tti::mf_has_static_member_function
<
- boost::tti::TheTIntFunction<_,_,_>,
+ BOOST_TTI_TRAIT_GEN(TheTIntFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>,
boost::mpl::vector
@@ -36,25 +36,21 @@
BOOST_TEST((boost::tti::mf_has_static_member_function
<
- boost::tti::has_static_member_function_TSFunction<_,_,_>,
+ BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_GEN(TSFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AStructType<AType>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>,
boost::mpl::vector
<
- boost::tti::NameIntType<AType>,
+ BOOST_TTI_TRAIT_GEN(NameIntType)<AType>,
boost::mpl::identity<double>
>
>
::value
));
-
-
-
-
BOOST_TEST((boost::tti::mf_has_static_member_function
<
- boost::tti::MFHaveTheSIntFunction,
+ BOOST_TTI_TRAIT_GEN(MFHaveTheSIntFunction),
boost::mpl::identity<AType>,
boost::mpl::identity<int>,
boost::mpl::vector
@@ -68,7 +64,7 @@
BOOST_TEST((boost::tti::mf_has_static_member_function
<
- boost::tti::MFCTheTIntFunction,
+ BOOST_TTI_TRAIT_GEN(MFCTheTIntFunction),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>,
boost::mpl::vector
@@ -82,12 +78,12 @@
BOOST_TEST((boost::tti::mf_has_static_member_function
<
- boost::tti::mtfc_has_static_member_function_TSFunction,
+ BOOST_TTI_MTFC_HAS_STATIC_MEMBER_FUNCTION_GEN(TSFunction),
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AStructType<AType>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>,
boost::mpl::vector
<
- boost::tti::NameIntType<AType>,
+ BOOST_TTI_TRAIT_GEN(NameIntType)<AType>,
boost::mpl::identity<double>
>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_static_fun_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_static_fun_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_static_fun_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
boost::tti::mf_has_static_member_function
<
- boost::tti::HaveTheSIntFunction<_,_,_>,
+ BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<_,_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int>,
boost::mpl::vector
@@ -22,7 +22,7 @@
boost::tti::mf_has_static_member_function
<
- boost::tti::MTFCPickedname,
+ BOOST_TTI_TRAIT_GEN(MTFCPickedname),
boost::mpl::identity<AType>,
boost::mpl::identity<double>,
boost::mpl::vector<boost::mpl::identity<float> >
@@ -32,7 +32,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_function
<
- boost::tti::HaveTheSIntFunction<_,_,_>,
+ BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<_,_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int>,
boost::mpl::vector
@@ -45,7 +45,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_function
<
- boost::tti::TheTIntFunction<_,_,_>,
+ BOOST_TTI_TRAIT_GEN(TheTIntFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>,
boost::mpl::vector
@@ -58,12 +58,12 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_function
<
- boost::tti::has_static_member_function_TSFunction<_,_,_>,
+ BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_GEN(TSFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AStructType<AType>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>,
boost::mpl::vector
<
- boost::tti::NameIntType<AType>,
+ BOOST_TTI_TRAIT_GEN(NameIntType)<AType>,
boost::mpl::identity<double>
>
>
@@ -71,7 +71,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_function
<
- boost::tti::MFHaveTheSIntFunction,
+ BOOST_TTI_TRAIT_GEN(MFHaveTheSIntFunction),
boost::mpl::identity<AType>,
boost::mpl::identity<int>,
boost::mpl::vector
@@ -84,7 +84,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_function
<
- boost::tti::MFCTheTIntFunction,
+ BOOST_TTI_TRAIT_GEN(MFCTheTIntFunction),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<AType>,
boost::mpl::vector
@@ -97,12 +97,12 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_function
<
- boost::tti::mtfc_has_static_member_function_TSFunction,
+ BOOST_TTI_MTFC_HAS_STATIC_MEMBER_FUNCTION_GEN(TSFunction),
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AStructType<AType>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>,
boost::mpl::vector
<
- boost::tti::NameIntType<AType>,
+ BOOST_TTI_TRAIT_GEN(NameIntType)<AType>,
boost::mpl::identity<double>
>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_function
<
- boost::tti::Pickedname<_,_,_>,
+ BOOST_TTI_TRAIT_GEN(Pickedname)<_,_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<short>,
boost::mpl::vector
Modified: sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_function
<
- boost::tti::HaveTheSIntFunction<_,_,_>,
+ BOOST_TTI_TRAIT_GEN(HaveTheSIntFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<int>,
boost::mpl::vector
Modified: sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_static_fun_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,12 +10,12 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_static_member_function
<
- boost::tti::has_static_member_function_TSFunction<_,_,_>,
+ BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_GEN(TSFunction)<_,_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AStructType<AType>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>,
boost::mpl::vector
<
- boost::tti::NameIntType<AnotherType>,
+ BOOST_TTI_TRAIT_GEN(NameIntType)<AnotherType>,
boost::mpl::identity<double>
>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_template.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_template.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_template.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,23 +8,23 @@
BOOST_TEST((boost::tti::mf_has_template
<
- boost::tti::HaveMStr<_>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_TRAIT_GEN(HaveMStr)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
::value
));
BOOST_TEST((!boost::tti::mf_has_template
<
- boost::tti::has_template_TemplateNotExist<_>,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_HAS_TEMPLATE_GEN(TemplateNotExist)<_>,
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_template
<
- boost::tti::has_template_ATPMemberTemplate<_>,
+ BOOST_TTI_HAS_TEMPLATE_GEN(ATPMemberTemplate)<_>,
boost::mpl::identity<AType>
>
::value
@@ -32,7 +32,7 @@
BOOST_TEST((boost::tti::mf_has_template
<
- boost::tti::HaveCL<_>,
+ BOOST_TTI_TRAIT_GEN(HaveCL)<_>,
boost::mpl::identity<AType>
>
::value
@@ -40,7 +40,7 @@
BOOST_TEST((boost::tti::mf_has_template
<
- boost::tti::has_template_SimpleTMP<_>,
+ BOOST_TTI_HAS_TEMPLATE_GEN(SimpleTMP)<_>,
boost::mpl::identity<AnotherType>
>
::value
@@ -48,23 +48,23 @@
BOOST_TEST((boost::tti::mf_has_template
<
- boost::tti::MetaHaveMStr,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_TRAIT_GEN(MetaHaveMStr),
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
::value
));
BOOST_TEST((!boost::tti::mf_has_template
<
- boost::tti::mtfc_has_template_TemplateNotExist,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_MTFC_HAS_TEMPLATE_GEN(TemplateNotExist),
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_template
<
- boost::tti::mtfc_has_template_ATPMemberTemplate,
+ BOOST_TTI_MTFC_HAS_TEMPLATE_GEN(ATPMemberTemplate),
boost::mpl::identity<AType>
>
::value
@@ -72,7 +72,7 @@
BOOST_TEST((boost::tti::mf_has_template
<
- boost::tti::MFClassHaveCL,
+ BOOST_TTI_TRAIT_GEN(MFClassHaveCL),
boost::mpl::identity<AType>
>
::value
@@ -80,7 +80,7 @@
BOOST_TEST((boost::tti::mf_has_template
<
- boost::tti::mtfc_has_template_SimpleTMP,
+ BOOST_TTI_MTFC_HAS_TEMPLATE_GEN(SimpleTMP),
boost::mpl::identity<AnotherType>
>
::value
Modified: sandbox/tti/libs/tti/test/test_mf_has_template_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_template_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_template_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,13 +10,13 @@
boost::tti::mf_has_template
<
- boost::tti::has_template_TemplateNotExist<_>,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_HAS_TEMPLATE_GEN(TemplateNotExist)<_>,
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
> aVar;
boost::tti::mf_has_template
<
- boost::tti::mtfc_has_template_ATPMemberTemplate,
+ BOOST_TTI_MTFC_HAS_TEMPLATE_GEN(ATPMemberTemplate),
boost::mpl::identity<AnotherType>
> aVar2;
@@ -24,56 +24,56 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::HaveMStr<_>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_TRAIT_GEN(HaveMStr)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::has_template_ATPMemberTemplate<_>,
+ BOOST_TTI_HAS_TEMPLATE_GEN(ATPMemberTemplate)<_>,
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::HaveCL<_>,
+ BOOST_TTI_TRAIT_GEN(HaveCL)<_>,
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::has_template_SimpleTMP<_>,
+ BOOST_TTI_HAS_TEMPLATE_GEN(SimpleTMP)<_>,
boost::mpl::identity<AnotherType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::MetaHaveMStr,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_TRAIT_GEN(MetaHaveMStr),
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::mtfc_has_template_ATPMemberTemplate,
+ BOOST_TTI_MTFC_HAS_TEMPLATE_GEN(ATPMemberTemplate),
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::MFClassHaveCL,
+ BOOST_TTI_TRAIT_GEN(MFClassHaveCL),
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::mtfc_has_template_SimpleTMP,
+ BOOST_TTI_MTFC_HAS_TEMPLATE_GEN(SimpleTMP),
boost::mpl::identity<AnotherType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_template_cp.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_template_cp.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_template_cp.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,15 +8,15 @@
BOOST_TEST((boost::tti::mf_has_template_check_params
<
- boost::tti::HT_Str<_>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_TRAIT_GEN(HT_Str)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_template_check_params
<
- boost::tti::has_template_check_params_AnotherMemberTemplate<_>,
+ BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(AnotherMemberTemplate)<_>,
boost::mpl::identity<AType>
>
::value
@@ -24,7 +24,7 @@
BOOST_TEST((!boost::tti::mf_has_template_check_params
<
- boost::tti::WrongParametersForMP<_>,
+ BOOST_TTI_TRAIT_GEN(WrongParametersForMP)<_>,
boost::mpl::identity<AnotherType>
>
::value
@@ -32,11 +32,11 @@
BOOST_TEST((boost::tti::mf_has_template_check_params
<
- boost::tti::has_template_check_params_CTManyParameters<_>,
+ BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(CTManyParameters)<_>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
>
>
::value
@@ -44,11 +44,11 @@
BOOST_TEST((!boost::tti::mf_has_template_check_params
<
- boost::tti::has_template_check_params_TemplateNotExist<_>,
+ BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(TemplateNotExist)<_>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
>
>
::value
@@ -56,15 +56,15 @@
BOOST_TEST((boost::tti::mf_has_template_check_params
<
- boost::tti::MF_HT_Str,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_TRAIT_GEN(MF_HT_Str),
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_template_check_params
<
- boost::tti::mtfc_has_template_check_params_AnotherMemberTemplate,
+ BOOST_TTI_MTFC_HAS_TEMPLATE_CHECK_PARAMS_GEN(AnotherMemberTemplate),
boost::mpl::identity<AType>
>
::value
@@ -72,7 +72,7 @@
BOOST_TEST((!boost::tti::mf_has_template_check_params
<
- boost::tti::MetaCWrongParametersForMP,
+ BOOST_TTI_TRAIT_GEN(MetaCWrongParametersForMP),
boost::mpl::identity<AnotherType>
>
::value
@@ -80,11 +80,11 @@
BOOST_TEST((boost::tti::mf_has_template_check_params
<
- boost::tti::mtfc_has_template_check_params_CTManyParameters,
+ BOOST_TTI_MTFC_HAS_TEMPLATE_CHECK_PARAMS_GEN(CTManyParameters),
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
>
>
::value
@@ -92,11 +92,11 @@
BOOST_TEST((!boost::tti::mf_has_template_check_params
<
- boost::tti::mtfc_has_template_check_params_TemplateNotExist,
+ BOOST_TTI_MTFC_HAS_TEMPLATE_CHECK_PARAMS_GEN(TemplateNotExist),
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
>
>
::value
Modified: sandbox/tti/libs/tti/test/test_mf_has_template_cp_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_template_cp_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_template_cp_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,11 +10,11 @@
boost::tti::mf_has_template_check_params
<
- boost::tti::has_template_check_params_TemplateNotExist<_>,
+ BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(TemplateNotExist)<_>,
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_CType,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(CType),
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
>
> aVar;
@@ -22,50 +22,50 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_template_check_params
<
- boost::tti::HT_Str<_>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_TRAIT_GEN(HT_Str)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template_check_params
<
- boost::tti::has_template_check_params_AnotherMemberTemplate<_>,
+ BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(AnotherMemberTemplate)<_>,
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template_check_params
<
- boost::tti::has_template_check_params_CTManyParameters<_>,
+ BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(CTManyParameters)<_>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template_check_params
<
- boost::tti::MF_HT_Str,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_TRAIT_GEN(MF_HT_Str),
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template_check_params
<
- boost::tti::mtfc_has_template_check_params_AnotherMemberTemplate,
+ BOOST_TTI_MTFC_HAS_TEMPLATE_CHECK_PARAMS_GEN(AnotherMemberTemplate),
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_template_check_params
<
- boost::tti::mtfc_has_template_check_params_CTManyParameters,
+ BOOST_TTI_MTFC_HAS_TEMPLATE_CHECK_PARAMS_GEN(CTManyParameters),
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_CType,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(CType),
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,11 +10,11 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_template_check_params
<
- boost::tti::has_template_check_params_TemplateNotExist<_>,
+ BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(TemplateNotExist)<_>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,10 +10,10 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_template_check_params
<
- boost::tti::has_template_check_params_CTManyParameters<_>,
+ BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(CTManyParameters)<_>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
boost::mpl::identity<AType>
>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_template_cp_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_template_check_params
<
- boost::tti::WrongParametersForMP<_>,
+ BOOST_TTI_TRAIT_GEN(WrongParametersForMP)<_>,
boost::mpl::identity<AnotherType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_template_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_template_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_template_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,8 +10,8 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::has_template_TemplateNotExist<_>,
- boost::tti::MT_BType<AType>
+ BOOST_TTI_HAS_TEMPLATE_GEN(TemplateNotExist)<_>,
+ BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_template_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_template_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_template_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,8 +10,8 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::HaveMStr<_>,
- boost::tti::member_type_AStructType<AnotherType>
+ BOOST_TTI_TRAIT_GEN(HaveMStr)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AnotherType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_template_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_template_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_template_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::has_template_SomeMemberTemplate<_>,
+ BOOST_TTI_HAS_TEMPLATE_GEN(SomeMemberTemplate)<_>,
boost::mpl::identity<AnotherType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_template_fail4.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_template_fail4.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_template_fail4.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
- boost::tti::AMT<_>,
+ BOOST_TTI_TRAIT_GEN(AMT)<_>,
boost::mpl::identity<AType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_type.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_type.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_type.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,7 +8,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::has_type_AnIntType<_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnIntType)<_>,
boost::mpl::identity<AType>
>
::value
@@ -16,7 +16,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::NameStruct<_>,
+ BOOST_TTI_TRAIT_GEN(NameStruct)<_>,
boost::mpl::identity<AType>
>
::value
@@ -24,7 +24,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::has_type_AnIntTypeReference<_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnIntTypeReference)<_>,
boost::mpl::identity<AType>
>
::value
@@ -32,7 +32,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::has_type_BType<_>,
+ BOOST_TTI_HAS_TYPE_GEN(BType)<_>,
boost::mpl::identity<AType>
>
::value
@@ -40,27 +40,27 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::TheInteger<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_TRAIT_GEN(TheInteger)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::has_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_HAS_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::has_type_AnotherIntegerType<_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnotherIntegerType)<_>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
::value
@@ -68,7 +68,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::SomethingElse<_>,
+ BOOST_TTI_TRAIT_GEN(SomethingElse)<_>,
boost::mpl::identity<AnotherType>
>
::value
@@ -76,7 +76,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnIntType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnIntType),
boost::mpl::identity<AType>
>
::value
@@ -84,7 +84,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::MetaFNameStruct,
+ BOOST_TTI_TRAIT_GEN(MetaFNameStruct),
boost::mpl::identity<AType>
>
::value
@@ -92,7 +92,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnIntTypeReference,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnIntTypeReference),
boost::mpl::identity<AType>
>
::value
@@ -100,7 +100,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_BType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(BType),
boost::mpl::identity<AType>
>
::value
@@ -108,27 +108,27 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::MClassTheInteger,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_TRAIT_GEN(MClassTheInteger),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_CType,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnotherIntegerType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnotherIntegerType),
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_CType,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
::value
@@ -136,7 +136,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::MTFCSomethingElse,
+ BOOST_TTI_TRAIT_GEN(MTFCSomethingElse),
boost::mpl::identity<AnotherType>
>
::value
Modified: sandbox/tti/libs/tti/test/test_mf_has_type_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_type_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_type_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,13 +10,13 @@
boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnIntType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnIntType),
boost::mpl::identity<AnotherType>
> aVar;
boost::tti::mf_has_type
<
- boost::tti::has_type_NoOtherType<_>,
+ BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<_>,
boost::mpl::identity<AnotherType>
> aVar2;
@@ -24,120 +24,120 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_AnIntType<_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnIntType)<_>,
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::NameStruct<_>,
+ BOOST_TTI_TRAIT_GEN(NameStruct)<_>,
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_AnIntTypeReference<_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnIntTypeReference)<_>,
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_BType<_>,
+ BOOST_TTI_HAS_TYPE_GEN(BType)<_>,
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::TheInteger<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_TRAIT_GEN(TheInteger)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_HAS_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_AnotherIntegerType<_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnotherIntegerType)<_>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::SomethingElse<_>,
+ BOOST_TTI_TRAIT_GEN(SomethingElse)<_>,
boost::mpl::identity<AnotherType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnIntType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnIntType),
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::MetaFNameStruct,
+ BOOST_TTI_TRAIT_GEN(MetaFNameStruct),
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnIntTypeReference,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnIntTypeReference),
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_BType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(BType),
boost::mpl::identity<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::MClassTheInteger,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_TRAIT_GEN(MClassTheInteger),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_CType,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnotherIntegerType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnotherIntegerType),
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::MTFCSomethingElse,
+ BOOST_TTI_TRAIT_GEN(MTFCSomethingElse),
boost::mpl::identity<AnotherType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_type_ct.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_type_ct.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_type_ct.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,7 +8,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::has_type_AnIntType<_,_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnIntType)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -17,16 +17,16 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::NameStruct<_,_>,
+ BOOST_TTI_TRAIT_GEN(NameStruct)<_,_>,
boost::mpl::identity<AType>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::has_type_AnIntTypeReference<_,_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnIntTypeReference)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int &>
>
@@ -35,17 +35,17 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::has_type_BType<_,_>,
+ BOOST_TTI_HAS_TYPE_GEN(BType)<_,_>,
boost::mpl::identity<AType>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::TheInteger<_,_>,
- boost::tti::member_type_BType<AType>,
+ BOOST_TTI_TRAIT_GEN(TheInteger)<_,_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>,
boost::mpl::identity<int>
>
::value
@@ -53,12 +53,12 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::has_type_CType<_,_>,
- boost::tti::member_type_BType<AType>,
+ BOOST_TTI_HAS_TYPE_GEN(CType)<_,_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
::value
@@ -66,11 +66,11 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::has_type_AnotherIntegerType<_,_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnotherIntegerType)<_,_>,
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_CType,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>,
boost::mpl::identity<int>
>
@@ -79,16 +79,16 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::SomethingElse<_,_>,
+ BOOST_TTI_TRAIT_GEN(SomethingElse)<_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AnIntType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AType>
>
::value
));
BOOST_TEST((!boost::tti::mf_has_type
<
- boost::tti::has_type_NoOtherType<_,_>,
+ BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<double>
>
@@ -97,7 +97,7 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnIntType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnIntType),
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -106,16 +106,16 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::MFunctionNameStruct,
+ BOOST_TTI_TRAIT_GEN(MFunctionNameStruct),
boost::mpl::identity<AType>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnIntTypeReference,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnIntTypeReference),
boost::mpl::identity<AType>,
boost::mpl::identity<int &>
>
@@ -124,17 +124,17 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_BType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(BType),
boost::mpl::identity<AType>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
::value
));
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::MFCTheInteger,
- boost::tti::member_type_BType<AType>,
+ BOOST_TTI_TRAIT_GEN(MFCTheInteger),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>,
boost::mpl::identity<int>
>
::value
@@ -142,12 +142,12 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_CType,
- boost::tti::member_type_BType<AType>,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
::value
@@ -155,11 +155,11 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnotherIntegerType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnotherIntegerType),
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_CType,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>,
boost::mpl::identity<int>
>
@@ -168,16 +168,16 @@
BOOST_TEST((boost::tti::mf_has_type
<
- boost::tti::FClassSomethingElse,
+ BOOST_TTI_TRAIT_GEN(FClassSomethingElse),
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AnIntType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AType>
>
::value
));
BOOST_TEST((!boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_NoOtherType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(NoOtherType),
boost::mpl::identity<AnotherType>,
boost::mpl::identity<double>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_type_ct_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_type_ct_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_type_ct_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,14 +10,14 @@
boost::tti::mf_has_type
<
- boost::tti::TheInteger<_,_>,
- boost::tti::member_type_BType<AnotherType>,
+ BOOST_TTI_TRAIT_GEN(TheInteger)<_,_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AnotherType>,
boost::mpl::identity<long>
> aVar;
boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_NoOtherType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(NoOtherType),
boost::mpl::identity<AType>,
boost::mpl::identity<float>
> aVar2;
@@ -26,7 +26,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_AnIntType<_,_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnIntType)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -34,15 +34,15 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::NameStruct<_,_>,
+ BOOST_TTI_TRAIT_GEN(NameStruct)<_,_>,
boost::mpl::identity<AType>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_AnIntTypeReference<_,_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnIntTypeReference)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<int &>
>
@@ -50,39 +50,39 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_BType<_,_>,
+ BOOST_TTI_HAS_TYPE_GEN(BType)<_,_>,
boost::mpl::identity<AType>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::TheInteger<_,_>,
- boost::tti::member_type_BType<AType>,
+ BOOST_TTI_TRAIT_GEN(TheInteger)<_,_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>,
boost::mpl::identity<int>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_CType<_,_>,
- boost::tti::member_type_BType<AType>,
+ BOOST_TTI_HAS_TYPE_GEN(CType)<_,_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_AnotherIntegerType<_,_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnotherIntegerType)<_,_>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>,
boost::mpl::identity<int>
>
@@ -90,15 +90,15 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::SomethingElse<_,_>,
+ BOOST_TTI_TRAIT_GEN(SomethingElse)<_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AnIntType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnIntType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnIntType),
boost::mpl::identity<AType>,
boost::mpl::identity<int>
>
@@ -106,15 +106,15 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::MFunctionNameStruct,
+ BOOST_TTI_TRAIT_GEN(MFunctionNameStruct),
boost::mpl::identity<AType>,
- boost::tti::member_type_AStructType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AStructType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnIntTypeReference,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnIntTypeReference),
boost::mpl::identity<AType>,
boost::mpl::identity<int &>
>
@@ -122,39 +122,39 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_BType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(BType),
boost::mpl::identity<AType>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::MFCTheInteger,
- boost::tti::member_type_BType<AType>,
+ BOOST_TTI_TRAIT_GEN(MFCTheInteger),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>,
boost::mpl::identity<int>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_CType,
- boost::tti::member_type_BType<AType>,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
));
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::mtfc_has_type_AnotherIntegerType,
+ BOOST_TTI_MTFC_HAS_TYPE_GEN(AnotherIntegerType),
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_CType,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>,
boost::mpl::identity<int>
>
@@ -162,9 +162,9 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::FClassSomethingElse,
+ BOOST_TTI_TRAIT_GEN(FClassSomethingElse),
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_AnIntType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<AType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_NoOtherType<_,_>,
+ BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<float>
>
Modified: sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,9 +10,9 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_BType<_,_>,
+ BOOST_TTI_HAS_TYPE_GEN(BType)<_,_>,
boost::mpl::identity<AnotherType>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_type_ct_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,8 +10,8 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::TheInteger<_,_>,
- boost::tti::member_type_BType<AType>,
+ BOOST_TTI_TRAIT_GEN(TheInteger)<_,_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>,
boost::mpl::identity<long>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_type_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_type_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_type_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_NoOtherType<_>,
+ BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<_>,
boost::mpl::identity<AType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_has_type_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_has_type_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_has_type_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
BOOST_MPL_ASSERT((boost::tti::mf_has_type
<
- boost::tti::has_type_AnIntType<_>,
+ BOOST_TTI_HAS_TYPE_GEN(AnIntType)<_>,
boost::mpl::identity<AnotherType>
>
));
Modified: sandbox/tti/libs/tti/test/test_mf_mem_type.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_mem_type.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_mem_type.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::member_type_AnIntType<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<_>,
boost::mpl::identity<AType>
>
>
@@ -21,7 +21,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::NameStruct<_>,
+ BOOST_TTI_TRAIT_GEN(NameStruct)<_>,
boost::mpl::identity<AType>
>
>
@@ -32,7 +32,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::member_type_AnIntTypeReference<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntTypeReference)<_>,
boost::mpl::identity<AType>
>
>
@@ -43,7 +43,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::member_type_BType<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<_>,
boost::mpl::identity<AType>
>
>
@@ -54,8 +54,8 @@
<
boost::tti::mf_member_type
<
- boost::tti::TheInteger<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_TRAIT_GEN(TheInteger)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
::value
@@ -65,8 +65,8 @@
<
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
::value
@@ -76,11 +76,11 @@
<
boost::tti::mf_member_type
<
- boost::tti::member_type_AnotherIntegerType<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnotherIntegerType)<_>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
>
@@ -91,7 +91,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::SomethingElse<_>,
+ BOOST_TTI_TRAIT_GEN(SomethingElse)<_>,
boost::mpl::identity<AnotherType>
>
>
@@ -102,7 +102,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_AnIntType,
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(AnIntType),
boost::mpl::identity<AType>
>
>
@@ -113,7 +113,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::MFNameStruct,
+ BOOST_TTI_TRAIT_GEN(MFNameStruct),
boost::mpl::identity<AType>
>
>
@@ -124,7 +124,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_AnIntTypeReference,
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(AnIntTypeReference),
boost::mpl::identity<AType>
>
>
@@ -135,7 +135,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_BType,
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(BType),
boost::mpl::identity<AType>
>
>
@@ -146,8 +146,8 @@
<
boost::tti::mf_member_type
<
- boost::tti::MFTheInteger,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_TRAIT_GEN(MFTheInteger),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
::value
@@ -157,8 +157,8 @@
<
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_CType,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
::value
@@ -168,11 +168,11 @@
<
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_AnotherIntegerType,
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(AnotherIntegerType),
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
>
@@ -183,7 +183,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::MetaClSomethingElse,
+ BOOST_TTI_TRAIT_GEN(MetaClSomethingElse),
boost::mpl::identity<AnotherType>
>
>
Modified: sandbox/tti/libs/tti/test/test_mf_mem_type_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_mf_mem_type_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_mf_mem_type_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::member_type_AnIntType<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntType)<_>,
boost::mpl::identity<AType>
>
>
@@ -20,7 +20,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::NameStruct<_>,
+ BOOST_TTI_TRAIT_GEN(NameStruct)<_>,
boost::mpl::identity<AType>
>
>
@@ -30,7 +30,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::member_type_AnIntTypeReference<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnIntTypeReference)<_>,
boost::mpl::identity<AType>
>
>
@@ -40,7 +40,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::member_type_BType<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<_>,
boost::mpl::identity<AType>
>
>
@@ -50,8 +50,8 @@
<
boost::tti::mf_member_type
<
- boost::tti::TheInteger<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_TRAIT_GEN(TheInteger)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
));
@@ -60,8 +60,8 @@
<
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
));
@@ -70,11 +70,11 @@
<
boost::tti::mf_member_type
<
- boost::tti::member_type_AnotherIntegerType<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(AnotherIntegerType)<_>,
boost::tti::mf_member_type
<
- boost::tti::member_type_CType<_>,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MEMBER_TYPE_GEN(CType)<_>,
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
>
@@ -84,7 +84,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::SomethingElse<_>,
+ BOOST_TTI_TRAIT_GEN(SomethingElse)<_>,
boost::mpl::identity<AnotherType>
>
>
@@ -94,7 +94,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_AnIntType,
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(AnIntType),
boost::mpl::identity<AType>
>
>
@@ -104,7 +104,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::MFNameStruct,
+ BOOST_TTI_TRAIT_GEN(MFNameStruct),
boost::mpl::identity<AType>
>
>
@@ -114,7 +114,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_AnIntTypeReference,
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(AnIntTypeReference),
boost::mpl::identity<AType>
>
>
@@ -124,7 +124,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_BType,
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(BType),
boost::mpl::identity<AType>
>
>
@@ -134,8 +134,8 @@
<
boost::tti::mf_member_type
<
- boost::tti::MFTheInteger,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_TRAIT_GEN(MFTheInteger),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
));
@@ -144,8 +144,8 @@
<
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_CType,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
));
@@ -154,11 +154,11 @@
<
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_AnotherIntegerType,
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(AnotherIntegerType),
boost::tti::mf_member_type
<
- boost::tti::mtfc_member_type_CType,
- boost::tti::member_type_BType<AType>
+ BOOST_TTI_MTFC_MEMBER_TYPE_GEN(CType),
+ BOOST_TTI_MEMBER_TYPE_GEN(BType)<AType>
>
>
>
@@ -168,7 +168,7 @@
<
boost::tti::mf_member_type
<
- boost::tti::MetaClSomethingElse,
+ BOOST_TTI_TRAIT_GEN(MetaClSomethingElse),
boost::mpl::identity<AnotherType>
>
>
Modified: sandbox/tti/libs/tti/test/test_vm_has_template_cp.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_vm_has_template_cp.cpp (original)
+++ sandbox/tti/libs/tti/test/test_vm_has_template_cp.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -6,14 +6,14 @@
#if !defined(BOOST_NO_VARIADIC_MACROS)
- BOOST_TEST(boost::tti::has_template_check_params_ATPMemberTemplate<AType>::value);
- BOOST_TEST(boost::tti::HaveCL<AType>::value);
- BOOST_TEST(boost::tti::has_template_check_params_AMemberTemplate<AType>::value);
- BOOST_TEST(boost::tti::HaveAnotherMT<AType>::value);
- BOOST_TEST(boost::tti::has_template_check_params_SomeMemberTemplate<AnotherType>::value);
- BOOST_TEST(boost::tti::ATemplateWithParms<AnotherType>::value);
- BOOST_TEST(boost::tti::has_template_check_params_SimpleTMP<AnotherType>::value);
- BOOST_TEST(!boost::tti::has_template_check_params_TemplateNotExist<AnotherType>::value);
+ BOOST_TEST(BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(ATPMemberTemplate)<AType>::value);
+ BOOST_TEST(BOOST_TTI_TRAIT_GEN(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(BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(SomeMemberTemplate)<AnotherType>::value);
+ BOOST_TEST(BOOST_TTI_TRAIT_GEN(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)
Modified: sandbox/tti/libs/tti/test/test_vm_has_template_cp_compile.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_vm_has_template_cp_compile.cpp (original)
+++ sandbox/tti/libs/tti/test/test_vm_has_template_cp_compile.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,17 +8,17 @@
// You can always instantiate without compiler errors
- boost::tti::has_template_check_params_TemplateNotExist<AnotherType> aVar1;
+ BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(TemplateNotExist)<AnotherType> aVar1;
// Compile time asserts
- BOOST_MPL_ASSERT((boost::tti::has_template_check_params_ATPMemberTemplate<AType>));
- BOOST_MPL_ASSERT((boost::tti::HaveCL<AType>));
- BOOST_MPL_ASSERT((boost::tti::has_template_check_params_AMemberTemplate<AType>));
- BOOST_MPL_ASSERT((boost::tti::HaveAnotherMT<AType>));
- BOOST_MPL_ASSERT((boost::tti::has_template_check_params_SomeMemberTemplate<AnotherType>));
- BOOST_MPL_ASSERT((boost::tti::ATemplateWithParms<AnotherType>));
- BOOST_MPL_ASSERT((boost::tti::has_template_check_params_SimpleTMP<AnotherType>));
+ 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((BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(AMemberTemplate)<AType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(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((BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(SimpleTMP)<AnotherType>));
#endif //!defined(BOOST_NO_VARIADIC_MACROS)
Modified: sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail.cpp (original)
+++ sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,7 +8,7 @@
// TemplateNotExist does not exist at all
- BOOST_MPL_ASSERT((boost::tti::has_template_check_params_TemplateNotExist<AType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(TemplateNotExist)<AType>));
#else
Modified: sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail2.cpp (original)
+++ sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail2.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,7 +8,7 @@
// Wrong enclosing type
- BOOST_MPL_ASSERT((boost::tti::HaveCL<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(HaveCL)<AnotherType>));
#else
Modified: sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail3.cpp (original)
+++ sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail3.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,7 +8,7 @@
// Wrong template parameters
- BOOST_MPL_ASSERT((boost::tti::WrongParametersForMP<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(WrongParametersForMP)<AnotherType>));
#else
Modified: sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail4.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail4.cpp (original)
+++ sandbox/tti/libs/tti/test/test_vm_has_template_cp_fail4.cpp 2011-03-09 21:44:14 EST (Wed, 09 Mar 2011)
@@ -8,7 +8,7 @@
// Wrong template parameters
- BOOST_MPL_ASSERT((boost::tti::WrongParameters2ForMP<AnotherType>));
+ BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(WrongParameters2ForMP)<AnotherType>));
#else
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