diff options
Diffstat (limited to 'boost/python/detail/value_is_xxx.hpp')
-rw-r--r-- | boost/python/detail/value_is_xxx.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/boost/python/detail/value_is_xxx.hpp b/boost/python/detail/value_is_xxx.hpp index fbb9defd0b..e270f89ca3 100644 --- a/boost/python/detail/value_is_xxx.hpp +++ b/boost/python/detail/value_is_xxx.hpp @@ -9,11 +9,11 @@ # include <boost/mpl/bool.hpp> # include <boost/preprocessor/enum_params.hpp> - -# include <boost/type_traits/remove_reference.hpp> -# include <boost/type_traits/remove_cv.hpp> +# include <boost/python/detail/type_traits.hpp> # include <boost/python/detail/is_xxx.hpp> +namespace boost { namespace python { namespace detail { + # define BOOST_PYTHON_VALUE_IS_XXX_DEF(name, qualified_name, nargs) \ template <class X_> \ struct value_is_##name \ @@ -24,9 +24,10 @@ struct value_is_##name \ typename remove_reference<X_>::type \ >::type \ >::value); \ - typedef mpl::bool_<value> type; \ + typedef mpl::bool_<value> type; \ \ }; +}}} // namespace boost::python::detail #endif // VALUE_IS_XXX_DWA2003224_HPP |