$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r69734 - in sandbox/tti: boost/tti/gen libs/tti/test
From: eldiener_at_[hidden]
Date: 2011-03-08 19:42:22
Author: eldiener
Date: 2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
New Revision: 69734
URL: http://svn.boost.org/trac/boost/changeset/69734
Log:
Add the gen headers and the test changes.
Added:
   sandbox/tti/boost/tti/gen/
   sandbox/tti/boost/tti/gen/comp_mem_fun_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/comp_static_mem_fun_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/mem_data_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/mem_fun_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/mem_fun_template_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/mem_fun_template_params_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/mem_type_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/static_mem_data_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/static_mem_fun_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/template_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/template_params_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/trait_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/type_gen.hpp   (contents, props changed)
   sandbox/tti/boost/tti/gen/vm_template_params_gen.hpp   (contents, props changed)
Text files modified: 
   sandbox/tti/libs/tti/test/test_has_mem_data_compile.cpp |    21 +++++++++++----------                   
   sandbox/tti/libs/tti/test/test_has_mem_data_fail.cpp    |     2 +-                                      
   sandbox/tti/libs/tti/test/test_has_mem_data_fail2.cpp   |     2 +-                                      
   sandbox/tti/libs/tti/test/test_has_mem_data_fail3.cpp   |     2 +-                                      
   sandbox/tti/libs/tti/test/test_has_mem_fun.cpp          |    15 ++++++++-------                         
   sandbox/tti/libs/tti/test/test_has_mem_fun_compile.cpp  |    15 ++++++++-------                         
   sandbox/tti/libs/tti/test/test_has_mem_fun_fail.cpp     |     2 +-                                      
   sandbox/tti/libs/tti/test/test_has_mem_fun_fail2.cpp    |     2 +-                                      
   8 files changed, 32 insertions(+), 29 deletions(-)
Added: sandbox/tti/boost/tti/gen/comp_mem_fun_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/comp_mem_fun_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_COMP_MEM_FUN_GEN_HPP)
+#define TTI_COMP_MEM_FUN_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN_BASE(name) \
+  BOOST_PP_CAT(has_comp_member_function_,name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_COMP_MEMBER_FUNCTION_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_comp_member_function_,name) \
+/**/
+
+#define BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN(name) \
+  boost::tti::BOOST_TTI_HAS_COMP_MEMBER_FUNCTION_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_COMP_MEMBER_FUNCTION_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_HAS_COMP_MEMBER_FUNCTION_GEN_BASE(name) \
+/**/
+
+#endif // TTI_COMP_MEM_FUN_GEN_HPP
Added: sandbox/tti/boost/tti/gen/comp_static_mem_fun_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/comp_static_mem_fun_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_COMP_STATIC_MEM_FUN_GEN_HPP)
+#define TTI_COMP_STATIC_MEM_FUN_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_HAS_COMP_STATIC_MEMBER_FUNCTION_GEN_BASE(name) \
+  BOOST_PP_CAT(has_comp_static_member_function_,name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_COMP_STATIC_MEMBER_FUNCTION_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_comp_static_member_function_,name) \
+/**/
+
+#define BOOST_TTI_HAS_COMP_STATIC_MEMBER_FUNCTION_GEN(name) \
+  boost::tti::BOOST_TTI_HAS_COMP_STATIC_MEMBER_FUNCTION_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_COMP_STATIC_MEMBER_FUNCTION_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_HAS_COMP_STATIC_MEMBER_FUNCTION_GEN_BASE(name) \
+/**/
+
+#endif // TTI_COMP_STATIC_MEM_FUN_GEN_HPP
Added: sandbox/tti/boost/tti/gen/mem_data_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/mem_data_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_MEMBER_DATA_GEN_HPP)
+#define TTI_MEMBER_DATA_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_HAS_MEMBER_DATA_GEN_BASE(name) \
+  BOOST_PP_CAT(has_member_data_,name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_member_data_,name) \
+/**/
+
+#define BOOST_TTI_HAS_MEMBER_DATA_GEN(name) \
+  boost::tti::BOOST_TTI_HAS_MEMBER_DATA_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_HAS_MEMBER_DATA_GEN_BASE(name) \
+/**/
+
+#endif // TTI_MEMBER_DATA_GEN_HPP
Added: sandbox/tti/boost/tti/gen/mem_fun_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/mem_fun_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_MEMBER_FUNCTION_GEN_HPP)
+#define TTI_MEMBER_FUNCTION_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_HAS_MEMBER_FUNCTION_GEN_BASE(name) \
+  BOOST_PP_CAT(has_member_function_,name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_member_function_,name) \
+/**/
+
+#define BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(name) \
+  boost::tti::BOOST_TTI_HAS_MEMBER_FUNCTION_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_GEN_BASE(name) \
+/**/
+
+#endif // TTI_MEMBER_FUNCTION_GEN_HPP
Added: sandbox/tti/boost/tti/gen/mem_fun_template_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/mem_fun_template_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_MEMBER_FUNCTION_TEMPLATE_GEN_HPP)
+#define TTI_MEMBER_FUNCTION_TEMPLATE_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_HAS_MEMBER_FUNCTION_TEMPLATE_GEN_BASE(name) \
+  BOOST_PP_CAT(has_member_function_template_,name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_TEMPLATE_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_member_function_template_,name) \
+/**/
+
+#define BOOST_TTI_HAS_MEMBER_FUNCTION_TEMPLATE_GEN(name) \
+  boost::tti::BOOST_TTI_HAS_MEMBER_FUNCTION_TEMPLATE_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_TEMPLATE_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_TEMPLATE_GEN_BASE(name) \
+/**/
+
+#endif // TTI_MEMBER_FUNCTION_TEMPLATE_GEN_HPP
Added: sandbox/tti/boost/tti/gen/mem_fun_template_params_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/mem_fun_template_params_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_MEMBER_FUNCTION_TEMPLATE_PARAMS_GEN_HPP)
+#define TTI_MEMBER_FUNCTION_TEMPLATE_PARAMS_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_HAS_MEMBER_FUNCTION_TEMPLATE_PARAMS_GEN_BASE(name) \
+  BOOST_PP_CAT(has_member_function_template_,name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_TEMPLATE_PARAMS_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_member_function_template_,name) \
+/**/
+
+#define BOOST_TTI_HAS_MEMBER_FUNCTION_TEMPLATE_PARAMS_GEN(name) \
+  boost::tti::BOOST_TTI_HAS_MEMBER_FUNCTION_TEMPLATE_PARAMS_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_TEMPLATE_PARAMS_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_HAS_MEMBER_FUNCTION_TEMPLATE_PARAMS_GEN_BASE(name) \
+/**/
+
+#endif // TTI_MEMBER_FUNCTION_TEMPLATE_PARAMS_GEN_HPP
Added: sandbox/tti/boost/tti/gen/mem_type_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/mem_type_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_MEMBER_TYPE_GEN_HPP)
+#define TTI_MEMBER_TYPE_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_MEMBER_TYPE_GEN_BASE(name) \
+  BOOST_PP_CAT(member_type_,name) \
+/**/
+  
+#define BOOST_TTI_MTFC_MEMBER_TYPE_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_member_type_,name) \
+/**/
+
+#define BOOST_TTI_MEMBER_TYPE_GEN(name) \
+  boost::tti::BOOST_TTI_MEMBER_TYPE_GEN_BASE(name) \
+/**/
+  
+#define BOOST_TTI_MTFC_MEMBER_TYPE_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_MEMBER_TYPE_GEN_BASE(name) \
+/**/
+
+#endif // TTI_MEMBER_TYPE_GEN_HPP
Added: sandbox/tti/boost/tti/gen/static_mem_data_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/static_mem_data_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_STATIC_MEMBER_DATA_GEN_HPP)
+#define TTI_STATIC_MEMBER_DATA_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN_BASE(name) \
+  BOOST_PP_CAT(has_static_member_data_,name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_STATIC_MEMBER_DATA_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_static_member_data_,name) \
+/**/
+
+#define BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(name) \
+  boost::tti::BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_STATIC_MEMBER_DATA_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_HAS_STATIC_MEMBER_DATA_GEN_BASE(name) \
+/**/
+
+#endif // TTI_STATIC_MEMBER_DATA_GEN_HPP
Added: sandbox/tti/boost/tti/gen/static_mem_fun_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/static_mem_fun_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_STATIC_MEMBER_FUNCTION_GEN_HPP)
+#define TTI_STATIC_MEMBER_FUNCTION_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_GEN_BASE(name) \
+  BOOST_PP_CAT(has_static_member_function_,name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_STATIC_MEMBER_FUNCTION_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_static_member_function_,name) \
+/**/
+
+#define BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_GEN(name) \
+  boost::tti::BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_STATIC_MEMBER_FUNCTION_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_HAS_STATIC_MEMBER_FUNCTION_GEN_BASE(name) \
+/**/
+
+#endif // TTI_STATIC_MEMBER_FUNCTION_GEN_HPP
Added: sandbox/tti/boost/tti/gen/template_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/template_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_TEMPLATE_GEN_HPP)
+#define TTI_TEMPLATE_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_HAS_TEMPLATE_GEN_BASE(name) \
+  BOOST_PP_CAT(has_template_,name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_TEMPLATE_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_template_,name) \
+/**/
+
+#define BOOST_TTI_HAS_TEMPLATE_GEN(name) \
+  boost::tti::BOOST_TTI_HAS_TEMPLATE_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_TEMPLATE_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_HAS_TEMPLATE_GEN_BASE(name) \
+/**/
+
+#endif // TTI_TEMPLATE_GEN_HPP
Added: sandbox/tti/boost/tti/gen/template_params_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/template_params_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_TEMPLATE_PARAMS_GEN_HPP)
+#define TTI_TEMPLATE_PARAMS_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN_BASE(name) \
+  BOOST_PP_CAT(has_template_check_params_,name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_TEMPLATE_CHECK_PARAMS_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_template_check_params_,name) \
+/**/
+
+#define BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN(name) \
+  boost::tti::BOOST_TTI_HAS_TEMPLATE_CHECK_PARAMS_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_TEMPLATE_CHECK_PARAMS_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_HAS_TEMPLATE_CHECK_PARAMS_GEN_BASE(name) \
+/**/
+
+#endif // TTI_TEMPLATE_PARAMS_GEN_HPP
Added: sandbox/tti/boost/tti/gen/trait_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/trait_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,15 @@
+#if !defined(TTI_TRAIT_GEN_HPP)
+#define TTI_TRAIT_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_TRAIT_GEN_BASE(name) \
+  name \
+/**/
+
+#define BOOST_TTI_TRAIT_GEN(name) \
+  boost::tti::BOOST_TTI_TRAIT_GEN_BASE(name) \
+/**/
+
+#endif // TTI_TRAIT_GEN_HPP
Added: sandbox/tti/boost/tti/gen/type_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/type_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,23 @@
+#if !defined(TTI_TYPE_GEN_HPP)
+#define TTI_TYPE_GEN_HPP
+
+#include <boost/config.hpp>
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_HAS_TYPE_GEN_BASE(name) \
+  BOOST_PP_CAT(has_type_,name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_TYPE_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_type_,name) \
+/**/
+
+#define BOOST_TTI_HAS_TYPE_GEN(name) \
+  boost::tti::BOOST_TTI_HAS_TYPE_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_MTFC_HAS_TYPE_GEN(name) \
+  boost::tti::BOOST_TTI_MTFC_HAS_TYPE_GEN_BASE(name) \
+/**/
+
+#endif // TTI_TYPE_GEN_HPP
Added: sandbox/tti/boost/tti/gen/vm_template_params_gen.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/boost/tti/gen/vm_template_params_gen.hpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,27 @@
+#if !defined(TTI_VM_TEMPLATE_PARAMS_GEN_HPP)
+#define TTI_VM_TEMPLATE_PARAMS_GEN_HPP
+
+#include <boost/config.hpp>
+
+#if !defined(BOOST_NO_VARIADIC_MACROS)
+
+#include <boost/preprocessor/cat.hpp>
+
+#define BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN_BASE(name) \
+  BOOST_PP_CAT(has_template_check_params_,name) \
+/**/
+
+#define BOOST_TTI_VM_MTFC_HAS_TEMPLATE_CHECK_PARAMS_GEN_BASE(name) \
+  BOOST_PP_CAT(mtfc_has_template_check_params_,name) \
+/**/
+
+#define BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN(name) \
+  boost::tti::BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS_GEN_BASE(name) \
+/**/
+
+#define BOOST_TTI_VM_MTFC_HAS_TEMPLATE_CHECK_PARAMS_GEN(name) \
+  boost::tti::BOOST_TTI_VM_MTFC_HAS_TEMPLATE_CHECK_PARAMS_GEN_BASE(name) \
+/**/
+
+#endif // !defined(BOOST_NO_VARIADIC_MACROS)
+#endif // TTI_VM_TEMPLATE_PARAMS_GEN_HPP
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-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -1,4 +1,5 @@
 #include "test_has_mem_data.hpp"
+#include <boost/tti/gen/trait_gen.hpp>
 #include <boost/mpl/assert.hpp>
 
 int main()
@@ -6,19 +7,19 @@
   
   // You can always instantiate without compiler errors
   
-  boost::tti::has_member_data_aMember<AType,long> aVar;
-  boost::tti::has_member_data_someDataMember<AnotherType,double> aVar2;
+  BOOST_TTI_HAS_MEMBER_DATA_GEN(aMember)<AType,long> aVar;
+  BOOST_TTI_HAS_MEMBER_DATA_GEN(someDataMember)<AnotherType,double> aVar2;
   
   // Compile time asserts
   
-  BOOST_MPL_ASSERT((boost::tti::has_member_data_AnInt<AType,int>));
-  BOOST_MPL_ASSERT((boost::tti::has_member_data_AnInt<AnotherType,long>));
-  BOOST_MPL_ASSERT((boost::tti::has_member_data_aMember<AnotherType,bool>));
-  BOOST_MPL_ASSERT((boost::tti::CMember<AnotherType,bool>));
-  BOOST_MPL_ASSERT((boost::tti::has_member_data_IntBT<AType,AType::BType>));
-  BOOST_MPL_ASSERT((boost::tti::NestedData<AType,AType::BType::CType>));
-  BOOST_MPL_ASSERT((boost::tti::AOther<AnotherType,AType>));
-  BOOST_MPL_ASSERT((boost::tti::has_member_data_ONestStr<AnotherType,AType::AStructType>));
+  BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_DATA_GEN(AnInt)<AType,int>));
+  BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_DATA_GEN(AnInt)<AnotherType,long>));
+  BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_DATA_GEN(aMember)<AnotherType,bool>));
+  BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(CMember)<AnotherType,bool>));
+  BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_DATA_GEN(IntBT)<AType,AType::BType>));
+  BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(NestedData)<AType,AType::BType::CType>));
+  BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(AOther)<AnotherType,AType>));
+  BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_DATA_GEN(ONestStr)<AnotherType,AType::AStructType>));
   
   return 0;
 
Modified: sandbox/tti/libs/tti/test/test_has_mem_data_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_mem_data_fail.cpp	(original)
+++ sandbox/tti/libs/tti/test/test_has_mem_data_fail.cpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -6,7 +6,7 @@
   
   // someDataMember does not exist at all
   
-  BOOST_MPL_ASSERT(( boost::tti::has_member_data_someDataMember<AType,short> ));
+  BOOST_MPL_ASSERT(( BOOST_TTI_HAS_MEMBER_DATA_GEN(someDataMember)<AType,short> ));
   
   return 0;
 
Modified: sandbox/tti/libs/tti/test/test_has_mem_data_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_mem_data_fail2.cpp	(original)
+++ sandbox/tti/libs/tti/test/test_has_mem_data_fail2.cpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -6,7 +6,7 @@
   
   // Wrong data signature for aMember
   
-  BOOST_MPL_ASSERT(( boost::tti::has_member_data_aMember<AnotherType,int> ));
+  BOOST_MPL_ASSERT(( BOOST_TTI_HAS_MEMBER_DATA_GEN(aMember)<AnotherType,int> ));
   
   return 0;
 
Modified: sandbox/tti/libs/tti/test/test_has_mem_data_fail3.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_mem_data_fail3.cpp	(original)
+++ sandbox/tti/libs/tti/test/test_has_mem_data_fail3.cpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -5,7 +5,7 @@
   
   // Data signature has type which does not exist
   
-  boost::tti::has_member_data_aMember<AnotherType,AType::NTHType> aVar;
+  BOOST_TTI_HAS_MEMBER_DATA_GEN(aMember)<AnotherType,AType::NTHType> aVar;
   
   return 0;
 
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-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -1,16 +1,17 @@
 #include "test_has_mem_fun.hpp"
+#include <boost/tti/gen/trait_gen.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
 int main()
   {
   
-  BOOST_TEST((boost::tti::has_member_function_VoidFunction<AType,void>::value));
-  BOOST_TEST((boost::tti::FunctionReturningInt<AType,int>::value));
-  BOOST_TEST((boost::tti::FunctionReturningInt<AnotherType,double,boost::mpl::vector<int> >::value));
-  BOOST_TEST((boost::tti::has_member_function_aFunction<AnotherType,AType,boost::mpl::vector<int> >::value));
-  BOOST_TEST((boost::tti::AnotherIntFunction<AnotherType,int,boost::mpl::vector<AType> >::value));
-  BOOST_TEST((boost::tti::has_member_function_sFunction<AnotherType,AType::AnIntType,boost::mpl::vector<int,long,double> >::value));
-  BOOST_TEST((!boost::tti::has_member_function_someFunctionMember<AnotherType,AType,boost::mpl::vector<long,int> >::value));
+  BOOST_TEST((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(VoidFunction)<AType,void>::value));
+  BOOST_TEST((BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<AType,int>::value));
+  BOOST_TEST((BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<AnotherType,double,boost::mpl::vector<int> >::value));
+  BOOST_TEST((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(aFunction)<AnotherType,AType,boost::mpl::vector<int> >::value));
+  BOOST_TEST((BOOST_TTI_TRAIT_GEN(AnotherIntFunction)<AnotherType,int,boost::mpl::vector<AType> >::value));
+  BOOST_TEST((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(sFunction)<AnotherType,AType::AnIntType,boost::mpl::vector<int,long,double> >::value));
+  BOOST_TEST((!BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(someFunctionMember)<AnotherType,AType,boost::mpl::vector<long,int> >::value));
   
   return boost::report_errors();
 
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-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -1,4 +1,5 @@
 #include "test_has_mem_fun.hpp"
+#include <boost/tti/gen/trait_gen.hpp>
 #include <boost/mpl/assert.hpp>
 
 int main()
@@ -6,16 +7,16 @@
   
   // You can always instantiate without compiler errors
   
-  boost::tti::has_member_function_someFunctionMember<AnotherType,double,boost::mpl::vector<short,short,long,int> > aVar3;
+  BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(someFunctionMember)<AnotherType,double,boost::mpl::vector<short,short,long,int> > aVar3;
   
   // Compile time asserts
   
-  BOOST_MPL_ASSERT((boost::tti::has_member_function_VoidFunction<AType,void>));
-  BOOST_MPL_ASSERT((boost::tti::FunctionReturningInt<AType,int>));
-  BOOST_MPL_ASSERT((boost::tti::FunctionReturningInt<AnotherType,double,boost::mpl::vector<int> >));
-  BOOST_MPL_ASSERT((boost::tti::has_member_function_aFunction<AnotherType,AType,boost::mpl::vector<int> >));
-  BOOST_MPL_ASSERT((boost::tti::AnotherIntFunction<AnotherType,int,boost::mpl::vector<AType> >));
-  BOOST_MPL_ASSERT((boost::tti::has_member_function_sFunction<AnotherType,AType::AnIntType,boost::mpl::vector<int,long,double> >));
+  BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(VoidFunction)<AType,void>));
+  BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<AType,int>));
+  BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(FunctionReturningInt)<AnotherType,double,boost::mpl::vector<int> >));
+  BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(aFunction)<AnotherType,AType,boost::mpl::vector<int> >));
+  BOOST_MPL_ASSERT((BOOST_TTI_TRAIT_GEN(AnotherIntFunction)<AnotherType,int,boost::mpl::vector<AType> >));
+  BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(sFunction)<AnotherType,AType::AnIntType,boost::mpl::vector<int,long,double> >));
   
   return 0;
 
Modified: sandbox/tti/libs/tti/test/test_has_mem_fun_fail.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_mem_fun_fail.cpp	(original)
+++ sandbox/tti/libs/tti/test/test_has_mem_fun_fail.cpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -6,7 +6,7 @@
   
   // Wrong function signature for sFunction
   
-  BOOST_MPL_ASSERT((boost::tti::has_member_function_sFunction<AnotherType,AType::AnIntType,boost::mpl::vector<short,long,double> >));
+  BOOST_MPL_ASSERT((BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(sFunction)<AnotherType,AType::AnIntType,boost::mpl::vector<short,long,double> >));
   
   return 0;
 
Modified: sandbox/tti/libs/tti/test/test_has_mem_fun_fail2.cpp
==============================================================================
--- sandbox/tti/libs/tti/test/test_has_mem_fun_fail2.cpp	(original)
+++ sandbox/tti/libs/tti/test/test_has_mem_fun_fail2.cpp	2011-03-08 19:42:15 EST (Tue, 08 Mar 2011)
@@ -5,7 +5,7 @@
   
   // Function signature has type which does not exist
   
-  boost::tti::has_member_function_sFunction<NVType,AType::AnIntType,boost::mpl::vector<short,long,double> > aVar;
+  BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(sFunction)<NVType,AType::AnIntType,boost::mpl::vector<short,long,double> > aVar;
   
   return 0;