Skip to content

Commit fd75e79

Browse files
committed
moved indirect_traits to boost/detail
[SVN r25128]
1 parent 7eb9f91 commit fd75e79

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

include/boost/python/copy_const_reference.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ struct copy_const_reference
3030
struct apply
3131
{
3232
typedef typename mpl::if_c<
33-
detail::is_reference_to_const<T>::value
34-
, to_python_value<T>
35-
, detail::copy_const_reference_expects_a_const_reference_return_type<T>
33+
indirect_traits::is_reference_to_const<T>::value
34+
, to_python_value<T>
35+
, detail::copy_const_reference_expects_a_const_reference_return_type<T>
3636
>::type type;
3737
};
3838
};

include/boost/python/copy_non_const_reference.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct copy_non_const_reference
3030
struct apply
3131
{
3232
typedef typename mpl::if_c<
33-
boost::python::detail::is_reference_to_non_const<T>::value
33+
indirect_traits::is_reference_to_non_const<T>::value
3434
, to_python_value<T>
3535
, detail::copy_non_const_reference_expects_a_non_const_reference_return_type<T>
3636
>::type type;

include/boost/python/data_members.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ namespace detail
107107
typename value_arg<T>::type
108108
>::uses_registry
109109
>
110-
, is_reference_to_class<
110+
, indirect_traits::is_reference_to_class<
111111
typename value_arg<T>::type
112112
>
113113
>

include/boost/python/detail/def_helper.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ namespace detail
100100
Tuple
101101
, mpl::not_<
102102
mpl::or_<
103-
is_reference_to_class<mpl::_1>
104-
, is_reference_to_member_function_pointer<mpl::_1 >
103+
indirect_traits::is_reference_to_class<mpl::_1>
104+
, indirect_traits::is_reference_to_member_function_pointer<mpl::_1 >
105105
>
106106
>
107107
>
@@ -120,8 +120,8 @@ namespace detail
120120
Tuple
121121
, mpl::and_<
122122
mpl::not_<is_same<not_specified const&,mpl::_1> >
123-
, is_reference_to_class<mpl::_1 >
124-
, mpl::not_<is_reference_to_keywords<mpl::_1 > >
123+
, indirect_traits::is_reference_to_class<mpl::_1 >
124+
, mpl::not_<is_reference_to_keywords<mpl::_1 > >
125125
>
126126
>
127127
{
@@ -131,7 +131,7 @@ namespace detail
131131
struct default_implementation_extract
132132
: tuple_extract<
133133
Tuple
134-
, is_reference_to_member_function_pointer<mpl::_1 >
134+
, indirect_traits::is_reference_to_member_function_pointer<mpl::_1 >
135135
>
136136
{
137137
};

0 commit comments

Comments
 (0)