|
28 | 28 | # include <boost/python/detail/operator_id.hpp> |
29 | 29 | # include <boost/python/detail/def_helper.hpp> |
30 | 30 | # include <boost/python/detail/force_instantiate.hpp> |
| 31 | +# include <boost/python/detail/type_traits.hpp> |
31 | 32 | # include <boost/python/detail/unwrap_type_id.hpp> |
32 | 33 | # include <boost/python/detail/unwrap_wrapper.hpp> |
33 | 34 |
|
34 | | -# include <boost/type_traits/is_same.hpp> |
35 | | -# include <boost/type_traits/is_member_function_pointer.hpp> |
36 | | -# include <boost/type_traits/is_polymorphic.hpp> |
37 | | - |
38 | 35 | # include <boost/mpl/size.hpp> |
39 | 36 | # include <boost/mpl/for_each.hpp> |
40 | 37 | # include <boost/mpl/bool.hpp> |
|
53 | 50 |
|
54 | 51 | # ifdef BOOST_PYTHON_NO_MEMBER_POINTER_ORDERING |
55 | 52 | # include <boost/mpl/and.hpp> |
56 | | -# include <boost/type_traits/is_member_pointer.hpp> |
57 | 53 | # endif |
58 | 54 |
|
59 | 55 | namespace boost { namespace python { |
@@ -84,8 +80,8 @@ namespace detail |
84 | 80 | template <class T> |
85 | 81 | struct is_data_member_pointer |
86 | 82 | : mpl::and_< |
87 | | - is_member_pointer<T> |
88 | | - , mpl::not_<is_member_function_pointer<T> > |
| 83 | + detail::is_member_pointer<T> |
| 84 | + , mpl::not_<detail::is_member_function_pointer<T> > |
89 | 85 | > |
90 | 86 | {}; |
91 | 87 |
|
@@ -138,11 +134,11 @@ namespace detail |
138 | 134 | must_be_derived_class_member(Default const&) |
139 | 135 | { |
140 | 136 | // https://svn.boost.org/trac/boost/ticket/5803 |
141 | | - //typedef typename assertion<mpl::not_<is_same<Default,Fn> > >::failed test0; |
| 137 | + //typedef typename assertion<mpl::not_<detail::is_same<Default,Fn> > >::failed test0; |
142 | 138 | # if !BOOST_WORKAROUND(__MWERKS__, <= 0x2407) |
143 | | - typedef typename assertion<is_polymorphic<T> >::failed test1 BOOST_ATTRIBUTE_UNUSED; |
| 139 | + typedef typename assertion<detail::is_polymorphic<T> >::failed test1 BOOST_ATTRIBUTE_UNUSED; |
144 | 140 | # endif |
145 | | - typedef typename assertion<is_member_function_pointer<Fn> >::failed test2 BOOST_ATTRIBUTE_UNUSED; |
| 141 | + typedef typename assertion<detail::is_member_function_pointer<Fn> >::failed test2 BOOST_ATTRIBUTE_UNUSED; |
146 | 142 | not_a_derived_class_member<Default>(Fn()); |
147 | 143 | } |
148 | 144 | }; |
|
0 commit comments