|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69345 - in sandbox/tti/boost/tti: . detail
From: eldiener_at_[hidden]
Date: 2011-02-27 13:28:29
Author: eldiener
Date: 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
New Revision: 69345
URL: http://svn.boost.org/trac/boost/changeset/69345
Log:
Shortened detail header names
Added:
sandbox/tti/boost/tti/detail/dmem.hpp
- copied, changed from r68905, /sandbox/tti/boost/tti/detail/dmember.hpp
sandbox/tti/boost/tti/detail/dmem_data.hpp
- copied, changed from r68905, /sandbox/tti/boost/tti/detail/dmember_data.hpp
sandbox/tti/boost/tti/detail/dmem_fun.hpp
- copied, changed from r69331, /sandbox/tti/boost/tti/detail/dmember_function.hpp
sandbox/tti/boost/tti/detail/dmem_fun_template.hpp
- copied, changed from r69331, /sandbox/tti/boost/tti/detail/dmember_function_template.hpp
sandbox/tti/boost/tti/detail/dmem_type.hpp
- copied, changed from r68905, /sandbox/tti/boost/tti/detail/dmember_type.hpp
sandbox/tti/boost/tti/detail/dstatic_mem.hpp
- copied, changed from r68905, /sandbox/tti/boost/tti/detail/dstatic_member.hpp
sandbox/tti/boost/tti/detail/dstatic_mem_fun.hpp
- copied, changed from r69331, /sandbox/tti/boost/tti/detail/dstatic_member_function.hpp
Removed:
sandbox/tti/boost/tti/detail/dmember.hpp
sandbox/tti/boost/tti/detail/dmember_data.hpp
sandbox/tti/boost/tti/detail/dmember_function.hpp
sandbox/tti/boost/tti/detail/dmember_function_template.hpp
sandbox/tti/boost/tti/detail/dmember_type.hpp
sandbox/tti/boost/tti/detail/dstatic_member.hpp
sandbox/tti/boost/tti/detail/dstatic_member_function.hpp
Text files modified:
sandbox/tti/boost/tti/detail/dmem.hpp | 6 +++---
sandbox/tti/boost/tti/detail/dmem_data.hpp | 8 ++++----
sandbox/tti/boost/tti/detail/dmem_fun.hpp | 6 +++---
sandbox/tti/boost/tti/detail/dmem_fun_template.hpp | 6 +++---
sandbox/tti/boost/tti/detail/dmem_type.hpp | 6 +++---
sandbox/tti/boost/tti/detail/dstatic_mem.hpp | 6 +++---
sandbox/tti/boost/tti/detail/dstatic_mem_fun.hpp | 6 +++---
sandbox/tti/boost/tti/member.hpp | 2 +-
sandbox/tti/boost/tti/member_data.hpp | 2 +-
sandbox/tti/boost/tti/member_function.hpp | 2 +-
sandbox/tti/boost/tti/member_function_template.hpp | 2 +-
sandbox/tti/boost/tti/member_type.hpp | 2 +-
sandbox/tti/boost/tti/static_member.hpp | 2 +-
sandbox/tti/boost/tti/static_member_function.hpp | 2 +-
sandbox/tti/boost/tti/vm_member_function_template.hpp | 2 +-
15 files changed, 30 insertions(+), 30 deletions(-)
Copied: sandbox/tti/boost/tti/detail/dmem.hpp (from r68905, /sandbox/tti/boost/tti/detail/dmember.hpp)
==============================================================================
--- /sandbox/tti/boost/tti/detail/dmember.hpp (original)
+++ sandbox/tti/boost/tti/detail/dmem.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -1,5 +1,5 @@
-#if !defined(TTI_DETAIL_MEMBER_HPP)
-#define TTI_DETAIL_MEMBER_HPP
+#if !defined(TTI_DETAIL_MEM_HPP)
+#define TTI_DETAIL_MEM_HPP
#include <boost/config.hpp>
#include <boost/mpl/at.hpp>
@@ -379,4 +379,4 @@
#endif // defined(BOOST_MSVC)
-#endif // TTI_DETAIL_MEMBER_HPP
+#endif // TTI_DETAIL_MEM_HPP
Copied: sandbox/tti/boost/tti/detail/dmem_data.hpp (from r68905, /sandbox/tti/boost/tti/detail/dmember_data.hpp)
==============================================================================
--- /sandbox/tti/boost/tti/detail/dmember_data.hpp (original)
+++ sandbox/tti/boost/tti/detail/dmem_data.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -1,11 +1,11 @@
-#if !defined(TTI_DETAIL_MEMBER_DATA_HPP)
-#define TTI_DETAIL_MEMBER_DATA_HPP
+#if !defined(TTI_DETAIL_MEM_DATA_HPP)
+#define TTI_DETAIL_MEM_DATA_HPP
#include <boost/config.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/type_traits/detail/yes_no_type.hpp>
#if !defined(BOOST_MSVC)
-#include "dmember_function.hpp"
+#include "dmem_fun.hpp"
#endif
#if defined(BOOST_MSVC)
@@ -91,4 +91,4 @@
}
}
-#endif // TTI_DETAIL_MEMBER_DATA_HPP
+#endif // TTI_DETAIL_MEM_DATA_HPP
Copied: sandbox/tti/boost/tti/detail/dmem_fun.hpp (from r69331, /sandbox/tti/boost/tti/detail/dmember_function.hpp)
==============================================================================
--- /sandbox/tti/boost/tti/detail/dmember_function.hpp (original)
+++ sandbox/tti/boost/tti/detail/dmem_fun.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -1,5 +1,5 @@
-#if !defined(TTI_DETAIL_MEMBER_FUNCTION_HPP)
-#define TTI_DETAIL_MEMBER_FUNCTION_HPP
+#if !defined(TTI_DETAIL_MEM_FUN_HPP)
+#define TTI_DETAIL_MEM_FUN_HPP
#include <boost/config.hpp>
#include <boost/mpl/bool.hpp>
@@ -50,4 +50,4 @@
#endif // defined(BOOST_NO_NULLPTR)
-#endif // TTI_DETAIL_MEMBER_FUNCTION_HPP
+#endif // TTI_DETAIL_MEM_FUN_HPP
Copied: sandbox/tti/boost/tti/detail/dmem_fun_template.hpp (from r69331, /sandbox/tti/boost/tti/detail/dmember_function_template.hpp)
==============================================================================
--- /sandbox/tti/boost/tti/detail/dmember_function_template.hpp (original)
+++ sandbox/tti/boost/tti/detail/dmem_fun_template.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -1,5 +1,5 @@
-#if !defined(TTI_DETAIL_MEMBER_FUNCTION_TEMPLATE_HPP)
-#define TTI_DETAIL_MEMBER_FUNCTION_TEMPLATE_HPP
+#if !defined(TTI_DETAIL_MEM_FUN_TEMPLATE_HPP)
+#define TTI_DETAIL_MEM_FUN_TEMPLATE_HPP
#include <boost/config.hpp>
#include <boost/mpl/bool.hpp>
@@ -51,4 +51,4 @@
#endif // defined(BOOST_NO_NULLPTR)
-#endif // TTI_DETAIL_MEMBER_FUNCTION_TEMPLATE_HPP
+#endif // TTI_DETAIL_MEM_FUN_TEMPLATE_HPP
Copied: sandbox/tti/boost/tti/detail/dmem_type.hpp (from r68905, /sandbox/tti/boost/tti/detail/dmember_type.hpp)
==============================================================================
--- /sandbox/tti/boost/tti/detail/dmember_type.hpp (original)
+++ sandbox/tti/boost/tti/detail/dmem_type.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -1,5 +1,5 @@
-#if !defined(TTI_DETAIL_MEMBER_TYPE_HPP)
-#define TTI_DETAIL_MEMBER_TYPE_HPP
+#if !defined(TTI_DETAIL_MEM_TYPE_HPP)
+#define TTI_DETAIL_MEM_TYPE_HPP
#include <boost/config.hpp>
#include <boost/mpl/has_xxx.hpp>
@@ -29,4 +29,4 @@
} \
/**/
-#endif // TTI_DETAIL_MEMBER_TYPE_HPP
+#endif // TTI_DETAIL_MEM_TYPE_HPP
Deleted: sandbox/tti/boost/tti/detail/dmember.hpp
==============================================================================
--- sandbox/tti/boost/tti/detail/dmember.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
+++ (empty file)
@@ -1,382 +0,0 @@
-#if !defined(TTI_DETAIL_MEMBER_HPP)
-#define TTI_DETAIL_MEMBER_HPP
-
-#include <boost/config.hpp>
-#include <boost/mpl/at.hpp>
-#include <boost/mpl/bool.hpp>
-#include <boost/mpl/eval_if.hpp>
-#include <boost/mpl/identity.hpp>
-#include <boost/mpl/int.hpp>
-#include <boost/mpl/quote.hpp>
-#include <boost/function_types/is_member_object_pointer.hpp>
-#include <boost/function_types/parameter_types.hpp>
-#include <boost/type_traits/remove_const.hpp>
-#include <boost/type_traits/detail/yes_no_type.hpp>
-
-#if defined(BOOST_MSVC)
-
-#if defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_MEMBER(trait,name) \
- template<class T> \
- struct trait \
- { \
- template<class> \
- struct class_of; \
- \
- template<class R,class C> \
- struct class_of<R C::*> \
- { \
- typedef C type; \
- }; \
- \
- template<class> \
- struct return_of; \
- \
- template<class R,class C> \
- struct return_of<R C::*> \
- { \
- typedef R type; \
- }; \
- \
- template<bool,typename U> \
- struct menable_if; \
- \
- template<typename U> \
- struct menable_if<true,U> \
- { \
- typedef U type; \
- }; \
- \
- template<typename U,typename V> \
- static ::boost::type_traits::yes_type check2(V U::*); \
- \
- template<typename U,typename V> \
- static ::boost::type_traits::no_type check2(U); \
- \
- template<class F> \
- struct class_type \
- { \
- typedef typename \
- boost::remove_const \
- < \
- typename \
- boost::mpl::at \
- < \
- typename \
- boost::function_types::parameter_types \
- < \
- F, \
- boost::mpl::quote1 \
- < \
- boost::mpl::identity \
- > \
- > \
- ::type, \
- boost::mpl::int_<0> \
- >::type \
- >::type \
- type; \
- }; \
- \
- template<T> \
- struct helper; \
- \
- template<typename U,typename V> \
- static typename \
- menable_if \
- < \
- sizeof(check2<U,V>(&U::name))==sizeof(::boost::type_traits::yes_type), \
- ::boost::type_traits::yes_type \
- > \
- ::type \
- has_matching_member(int); \
- \
- template<typename U,typename V> \
- static ::boost::type_traits::no_type has_matching_member(...); \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- template<class F> \
- struct ttc_md \
- { \
- typedef boost::mpl::bool_<sizeof(has_matching_member<typename class_of<F>::type,typename return_of<F>::type>(0))==sizeof(::boost::type_traits::yes_type)> type; \
- }; \
- \
- template<class F> \
- struct ttc_mf \
- { \
- typedef boost::mpl::bool_<sizeof(check<typename class_type<F>::type>(0))==sizeof(::boost::type_traits::yes_type)> type; \
- }; \
- \
- template<class F> \
- struct type_to_check \
- { \
- typedef typename \
- boost::mpl::eval_if \
- < \
- boost::function_types::is_member_object_pointer<F>, \
- ttc_md<F>, \
- ttc_mf<F> \
- >::type \
- type; \
- }; \
- \
- typedef typename type_to_check<T>::type type; \
- \
- BOOST_STATIC_CONSTANT(bool,value=type::value); \
- \
- }; \
-/**/
-
-#else // !defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_MEMBER(trait,name) \
- template<class T> \
- struct trait \
- { \
- template<class> \
- struct class_of; \
- \
- template<class R,class C> \
- struct class_of<R C::*> \
- { \
- typedef C type; \
- }; \
- \
- template<class> \
- struct return_of; \
- \
- template<class R,class C> \
- struct return_of<R C::*> \
- { \
- typedef R type; \
- }; \
- \
- template<bool,typename U> \
- struct menable_if; \
- \
- template<typename U> \
- struct menable_if<true,U> \
- { \
- typedef U type; \
- }; \
- \
- template<typename U,typename V> \
- static ::boost::type_traits::yes_type check2(V U::*); \
- \
- template<typename U,typename V> \
- static ::boost::type_traits::no_type check2(U); \
- \
- template<class F> \
- struct class_type \
- { \
- typedef typename \
- boost::remove_const \
- < \
- typename \
- boost::mpl::at \
- < \
- typename \
- boost::function_types::parameter_types \
- < \
- F, \
- boost::mpl::quote1 \
- < \
- boost::mpl::identity \
- > \
- > \
- ::type, \
- boost::mpl::int_<0> \
- >::type \
- >::type \
- type; \
- }; \
- \
- template<T> \
- struct helper; \
- \
- template<typename U,typename V> \
- static typename \
- menable_if \
- < \
- sizeof(check2<U,V>(&U::name))==sizeof(::boost::type_traits::yes_type), \
- ::boost::type_traits::yes_type \
- > \
- ::type \
- has_matching_member(int); \
- \
- template<typename U,typename V> \
- static ::boost::type_traits::no_type has_matching_member(...); \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- template<class F> \
- struct ttc_md \
- { \
- typedef boost::mpl::bool_<sizeof(has_matching_member<typename class_of<F>::type,typename return_of<F>::type>(0))==sizeof(::boost::type_traits::yes_type)> type; \
- }; \
- \
- template<class F> \
- struct ttc_mf \
- { \
- typedef boost::mpl::bool_<sizeof(check<typename class_type<F>::type>(nullptr))==sizeof(::boost::type_traits::yes_type)> type; \
- }; \
- \
- template<class F> \
- struct type_to_check \
- { \
- typedef typename \
- boost::mpl::eval_if \
- < \
- boost::function_types::is_member_object_pointer<F>, \
- ttc_md<F>, \
- ttc_mf<F> \
- >::type \
- type; \
- }; \
- \
- typedef typename type_to_check<T>::type type; \
- \
- BOOST_STATIC_CONSTANT(bool,value=type::value); \
- \
- }; \
-/**/
-
-#endif // defined(BOOST_NO_NULLPTR)
-
-#else // !defined(BOOST_MSVC)
-
-#if defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_MEMBER(trait,name) \
- template<class T> \
- struct trait \
- { \
- template<class> \
- struct class_of; \
- \
- template<class R,class C> \
- struct class_of<R C::*> \
- { \
- typedef C type; \
- }; \
- \
- template<class F> \
- struct class_type \
- { \
- typedef typename \
- boost::mpl::eval_if \
- < \
- boost::function_types::is_member_object_pointer<F>, \
- class_of<F>, \
- boost::remove_const \
- < \
- typename \
- boost::mpl::at \
- < \
- typename \
- boost::function_types::parameter_types \
- < \
- F, \
- boost::mpl::quote1 \
- < \
- boost::mpl::identity \
- > \
- > \
- ::type, \
- boost::mpl::int_<0> \
- >::type \
- > \
- >::type \
- type; \
- }; \
- \
- template<T> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<typename class_type<T>::type>(0))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
-/**/
-
-#else // !defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_MEMBER(trait,name) \
- template<class T> \
- struct trait \
- { \
- template<class> \
- struct class_of; \
- \
- template<class R,class C> \
- struct class_of<R C::*> \
- { \
- typedef C type; \
- }; \
- \
- template<class F> \
- struct class_type \
- { \
- typedef typename \
- boost::mpl::eval_if \
- < \
- boost::function_types::is_member_object_pointer<F>, \
- class_of<F>, \
- boost::remove_const \
- < \
- typename \
- boost::mpl::at \
- < \
- typename \
- boost::function_types::parameter_types \
- < \
- F, \
- boost::mpl::quote1 \
- < \
- boost::mpl::identity \
- > \
- > \
- ::type, \
- boost::mpl::int_<0> \
- >::type \
- > \
- >::type \
- type; \
- }; \
- \
- template<T> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<typename class_type<T>::type>(nullptr))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
-/**/
-
-#endif // defined(BOOST_NO_NULLPTR)
-
-#endif // defined(BOOST_MSVC)
-
-#endif // TTI_DETAIL_MEMBER_HPP
Deleted: sandbox/tti/boost/tti/detail/dmember_data.hpp
==============================================================================
--- sandbox/tti/boost/tti/detail/dmember_data.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
+++ (empty file)
@@ -1,94 +0,0 @@
-#if !defined(TTI_DETAIL_MEMBER_DATA_HPP)
-#define TTI_DETAIL_MEMBER_DATA_HPP
-
-#include <boost/config.hpp>
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/detail/yes_no_type.hpp>
-#if !defined(BOOST_MSVC)
-#include "dmember_function.hpp"
-#endif
-
-#if defined(BOOST_MSVC)
-
-#define TTI_DETAIL_TRAIT_HAS_MEMBER_DATA(trait,name) \
- template<class T,class C> \
- struct trait \
- { \
- template<class> \
- struct return_of; \
- \
- template<class R,class C> \
- struct return_of<R C::*> \
- { \
- typedef R type; \
- }; \
- \
- template<bool,typename U> \
- struct menable_if; \
- \
- template<typename U> \
- struct menable_if<true,U> \
- { \
- typedef U type; \
- }; \
- \
- template<typename U,typename V> \
- static ::boost::type_traits::yes_type check2(V U::*); \
- \
- template<typename U,typename V> \
- static ::boost::type_traits::no_type check2(U); \
- \
- template<typename U,typename V> \
- static typename \
- menable_if \
- < \
- sizeof(check2<U,V>(&U::name))==sizeof(::boost::type_traits::yes_type), \
- ::boost::type_traits::yes_type \
- > \
- ::type \
- has_matching_member(int); \
- \
- template<typename U,typename V> \
- static ::boost::type_traits::no_type has_matching_member(...); \
- \
- template<class U,class V> \
- struct ttc_md \
- { \
- typedef boost::mpl::bool_<sizeof(has_matching_member<V,typename return_of<U>::type>(0))==sizeof(::boost::type_traits::yes_type)> type; \
- }; \
- \
- typedef typename ttc_md<T,C>::type type; \
- \
- BOOST_STATIC_CONSTANT(bool,value=type::value); \
- \
- }; \
-/**/
-
-#else // !defined(BOOST_MSVC)
-
-#define TTI_DETAIL_TRAIT_HAS_MEMBER_DATA(trait,name) \
- TTI_DETAIL_TRAIT_HAS_MEMBER_FUNCTION(trait,name) \
-/**/
-
-#endif // defined(BOOST_MSVC)
-
-namespace boost
- {
- namespace tti
- {
- namespace detail
- {
- template
- <
- class T,
- class R
- >
- struct ptmd
- {
- typedef R T::* type;
- };
- }
- }
- }
-
-#endif // TTI_DETAIL_MEMBER_DATA_HPP
Deleted: sandbox/tti/boost/tti/detail/dmember_function.hpp
==============================================================================
--- sandbox/tti/boost/tti/detail/dmember_function.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
+++ (empty file)
@@ -1,53 +0,0 @@
-#if !defined(TTI_DETAIL_MEMBER_FUNCTION_HPP)
-#define TTI_DETAIL_MEMBER_FUNCTION_HPP
-
-#include <boost/config.hpp>
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/detail/yes_no_type.hpp>
-#include "dptmf.hpp"
-
-#if defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_MEMBER_FUNCTION(trait,name) \
- template<class T,class C> \
- struct trait \
- { \
- template<T> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<C>(0))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
-/**/
-
-#else // !defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_MEMBER_FUNCTION(trait,name) \
- template<class T,class C> \
- struct trait \
- { \
- template<T> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<C>(nullptr))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
-/**/
-
-#endif // defined(BOOST_NO_NULLPTR)
-
-#endif // TTI_DETAIL_MEMBER_FUNCTION_HPP
Deleted: sandbox/tti/boost/tti/detail/dmember_function_template.hpp
==============================================================================
--- sandbox/tti/boost/tti/detail/dmember_function_template.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
+++ (empty file)
@@ -1,54 +0,0 @@
-#if !defined(TTI_DETAIL_MEMBER_FUNCTION_TEMPLATE_HPP)
-#define TTI_DETAIL_MEMBER_FUNCTION_TEMPLATE_HPP
-
-#include <boost/config.hpp>
-#include <boost/mpl/bool.hpp>
-#include <boost/preprocessor/seq/enum.hpp>
-#include <boost/type_traits/detail/yes_no_type.hpp>
-#include "dptmf.hpp"
-
-#if defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_MEMBER_FUNCTION_TEMPLATE(trait,name,tpseq) \
- template<class T,class C> \
- struct trait \
- { \
- template<T> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name<BOOST_PP_SEQ_ENUM(tpseq)> > *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<C>(0))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
-/**/
-
-#else // !defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_MEMBER_FUNCTION_TEMPLATE(trait,name,tpseq) \
- template<class T,class C> \
- struct trait \
- { \
- template<T> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name<BOOST_PP_SEQ_ENUM(tpseq)> > *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<C>(nullptr))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
-/**/
-
-#endif // defined(BOOST_NO_NULLPTR)
-
-#endif // TTI_DETAIL_MEMBER_FUNCTION_TEMPLATE_HPP
Deleted: sandbox/tti/boost/tti/detail/dmember_type.hpp
==============================================================================
--- sandbox/tti/boost/tti/detail/dmember_type.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
+++ (empty file)
@@ -1,32 +0,0 @@
-#if !defined(TTI_DETAIL_MEMBER_TYPE_HPP)
-#define TTI_DETAIL_MEMBER_TYPE_HPP
-
-#include <boost/config.hpp>
-#include <boost/mpl/has_xxx.hpp>
-
-#define TTI_DETAIL_TRAIT_HAS_TYPE_MEMBER_TYPE(trait,name) \
-namespace mpl \
- { \
- BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF(trait, name, false) \
- } \
-template<class T> \
-struct trait \
- { \
- typedef typename mpl::trait<T>::type type; \
- \
- BOOST_STATIC_CONSTANT(bool,value=type::value); \
- }; \
-/**/
-
-#define TTI_DETAIL_TRAIT_MEMBER_TYPE(trait,name) \
-namespace member_type \
- { \
- template<class T> \
- struct trait \
- { \
- typedef typename T::name type; \
- }; \
- } \
-/**/
-
-#endif // TTI_DETAIL_MEMBER_TYPE_HPP
Copied: sandbox/tti/boost/tti/detail/dstatic_mem.hpp (from r68905, /sandbox/tti/boost/tti/detail/dstatic_member.hpp)
==============================================================================
--- /sandbox/tti/boost/tti/detail/dstatic_member.hpp (original)
+++ sandbox/tti/boost/tti/detail/dstatic_mem.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -1,5 +1,5 @@
-#if !defined(TTI_DETAIL_STATIC_MEMBER_HPP)
-#define TTI_DETAIL_STATIC_MEMBER_HPP
+#if !defined(TTI_DETAIL_STATIC_MEM_HPP)
+#define TTI_DETAIL_STATIC_MEM_HPP
#include <boost/config.hpp>
#include <boost/mpl/bool.hpp>
@@ -93,4 +93,4 @@
#endif // defined(BOOST_NO_NULLPTR)
-#endif // TTI_DETAIL_STATIC_MEMBER_HPP
+#endif // TTI_DETAIL_STATIC_MEM_HPP
Copied: sandbox/tti/boost/tti/detail/dstatic_mem_fun.hpp (from r69331, /sandbox/tti/boost/tti/detail/dstatic_member_function.hpp)
==============================================================================
--- /sandbox/tti/boost/tti/detail/dstatic_member_function.hpp (original)
+++ sandbox/tti/boost/tti/detail/dstatic_mem_fun.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -1,5 +1,5 @@
-#if !defined(TTI_DETAIL_STATIC_MEMBER_FUNCTION_HPP)
-#define TTI_DETAIL_STATIC_MEMBER_FUNCTION_HPP
+#if !defined(TTI_DETAIL_STATIC_MEM_FUN_HPP)
+#define TTI_DETAIL_STATIC_MEM_FUN_HPP
#include <boost/config.hpp>
#include <boost/mpl/bool.hpp>
@@ -50,4 +50,4 @@
#endif // defined(BOOST_NO_NULLPTR)
-#endif // TTI_DETAIL_STATIC_MEMBER_FUNCTION_HPP
+#endif // TTI_DETAIL_STATIC_MEM_FUN_HPP
Deleted: sandbox/tti/boost/tti/detail/dstatic_member.hpp
==============================================================================
--- sandbox/tti/boost/tti/detail/dstatic_member.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
+++ (empty file)
@@ -1,96 +0,0 @@
-#if !defined(TTI_DETAIL_STATIC_MEMBER_HPP)
-#define TTI_DETAIL_STATIC_MEMBER_HPP
-
-#include <boost/config.hpp>
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/detail/yes_no_type.hpp>
-
-#if defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_STATIC_MEMBER(trait,name) \
- template<class T,class Type> \
- struct trait \
- { \
- template<Type *> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<T>(0))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
-/**/
-
-#define TTI_DETAIL_MTFC_TRAIT_HAS_STATIC_MEMBER(trait,name) \
- struct trait \
- { \
- template<class T,class Type> \
- struct apply \
- { \
- template<Type *> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<T>(0))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
- }; \
-/**/
-
-#else // !defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_STATIC_MEMBER(trait,name) \
- template<class T,class Type> \
- struct trait \
- { \
- template<Type *> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<T>(nullptr))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
-/**/
-
-#define TTI_DETAIL_MTFC_TRAIT_HAS_STATIC_MEMBER(trait,name) \
- struct trait \
- { \
- template<class T,class Type> \
- struct apply \
- { \
- template<Type *> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<T>(nullptr))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
- }; \
-/**/
-
-#endif // defined(BOOST_NO_NULLPTR)
-
-#endif // TTI_DETAIL_STATIC_MEMBER_HPP
Deleted: sandbox/tti/boost/tti/detail/dstatic_member_function.hpp
==============================================================================
--- sandbox/tti/boost/tti/detail/dstatic_member_function.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
+++ (empty file)
@@ -1,53 +0,0 @@
-#if !defined(TTI_DETAIL_STATIC_MEMBER_FUNCTION_HPP)
-#define TTI_DETAIL_STATIC_MEMBER_FUNCTION_HPP
-
-#include <boost/config.hpp>
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/detail/yes_no_type.hpp>
-#include "dtfunction.hpp"
-
-#if defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_STATIC_MEMBER_FUNCTION(trait,name) \
- template<class T,class Type> \
- struct trait \
- { \
- template<Type *> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<T>(0))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
-/**/
-
-#else // !defined(BOOST_NO_NULLPTR)
-
-#define TTI_DETAIL_TRAIT_HAS_STATIC_MEMBER_FUNCTION(trait,name) \
- template<class T,class Type> \
- struct trait \
- { \
- template<Type *> \
- struct helper; \
- \
- template<class U> \
- static ::boost::type_traits::yes_type check(helper<&U::name> *); \
- \
- template<class U> \
- static ::boost::type_traits::no_type check(...); \
- \
- BOOST_STATIC_CONSTANT(bool,value=sizeof(check<T>(nullptr))==sizeof(::boost::type_traits::yes_type)); \
- \
- typedef boost::mpl::bool_<value> type; \
- }; \
-/**/
-
-#endif // defined(BOOST_NO_NULLPTR)
-
-#endif // TTI_DETAIL_STATIC_MEMBER_FUNCTION_HPP
Modified: sandbox/tti/boost/tti/member.hpp
==============================================================================
--- sandbox/tti/boost/tti/member.hpp (original)
+++ sandbox/tti/boost/tti/member.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -5,7 +5,7 @@
#include <boost/mpl/apply.hpp>
#include <boost/mpl/identity.hpp>
#include <boost/preprocessor/cat.hpp>
-#include "detail/dmember.hpp"
+#include "detail/dmem.hpp"
/*
Modified: sandbox/tti/boost/tti/member_data.hpp
==============================================================================
--- sandbox/tti/boost/tti/member_data.hpp (original)
+++ sandbox/tti/boost/tti/member_data.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -7,7 +7,7 @@
#include <boost/mpl/placeholders.hpp>
#include <boost/preprocessor/cat.hpp>
#include <boost/type_traits/remove_const.hpp>
-#include "detail/dmember_data.hpp"
+#include "detail/dmem_data.hpp"
/*
Modified: sandbox/tti/boost/tti/member_function.hpp
==============================================================================
--- sandbox/tti/boost/tti/member_function.hpp (original)
+++ sandbox/tti/boost/tti/member_function.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -10,7 +10,7 @@
#include <boost/mpl/vector.hpp>
#include <boost/preprocessor/cat.hpp>
#include <boost/type_traits/remove_const.hpp>
-#include "detail/dmember_function.hpp"
+#include "detail/dmem_fun.hpp"
#include "detail/dtself.hpp"
/*
Modified: sandbox/tti/boost/tti/member_function_template.hpp
==============================================================================
--- sandbox/tti/boost/tti/member_function_template.hpp (original)
+++ sandbox/tti/boost/tti/member_function_template.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -7,7 +7,7 @@
#include <boost/preprocessor/cat.hpp>
#include <boost/type_traits/remove_const.hpp>
#include "mf_member_function_template.hpp"
-#include "detail/dmember_function_template.hpp"
+#include "detail/dmem_fun_template.hpp"
/*
Modified: sandbox/tti/boost/tti/member_type.hpp
==============================================================================
--- sandbox/tti/boost/tti/member_type.hpp (original)
+++ sandbox/tti/boost/tti/member_type.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -9,7 +9,7 @@
#include <boost/mpl/placeholders.hpp>
#include <boost/preprocessor/cat.hpp>
#include <boost/type_traits/is_same.hpp>
-#include "detail/dmember_type.hpp"
+#include "detail/dmem_type.hpp"
#include "detail/dnotype.hpp"
/*
Modified: sandbox/tti/boost/tti/static_member.hpp
==============================================================================
--- sandbox/tti/boost/tti/static_member.hpp (original)
+++ sandbox/tti/boost/tti/static_member.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -6,7 +6,7 @@
#include <boost/mpl/identity.hpp>
#include <boost/mpl/placeholders.hpp>
#include <boost/preprocessor/cat.hpp>
-#include "detail/dstatic_member.hpp"
+#include "detail/dstatic_mem.hpp"
/*
Modified: sandbox/tti/boost/tti/static_member_function.hpp
==============================================================================
--- sandbox/tti/boost/tti/static_member_function.hpp (original)
+++ sandbox/tti/boost/tti/static_member_function.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -9,7 +9,7 @@
#include <boost/mpl/transform.hpp>
#include <boost/mpl/vector.hpp>
#include <boost/preprocessor/cat.hpp>
-#include "detail/dstatic_member_function.hpp"
+#include "detail/dstatic_mem_fun.hpp"
#include "detail/dtself.hpp"
/*
Modified: sandbox/tti/boost/tti/vm_member_function_template.hpp
==============================================================================
--- sandbox/tti/boost/tti/vm_member_function_template.hpp (original)
+++ sandbox/tti/boost/tti/vm_member_function_template.hpp 2011-02-27 13:28:24 EST (Sun, 27 Feb 2011)
@@ -11,7 +11,7 @@
#include <boost/type_traits/remove_const.hpp>
#include <boost/variadic_macro_data/vmd.hpp>
#include "mf_member_function_template.hpp"
-#include "detail/dmember_function_template.hpp"
+#include "detail/dmem_fun_template.hpp"
/*
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