2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

type -> boost::type

[SVN r14154]
This commit is contained in:
Dave Abrahams
2002-06-16 20:18:51 +00:00
parent 773bb0651e
commit 0b5937a396

View File

@@ -80,7 +80,7 @@ namespace detail
no_pointer_wrapper_t is_pointer_wrapper_test(...);
template<typename T>
yes_pointer_wrapper_t is_pointer_wrapper_test(type< pointer_wrapper<T> >);
yes_pointer_wrapper_t is_pointer_wrapper_test(boost::type< pointer_wrapper<T> >);
template<bool wrapped>
struct pointer_unwrapper
@@ -109,7 +109,7 @@ class is_pointer_wrapper
public:
BOOST_STATIC_CONSTANT(
bool, value = (
sizeof(detail::is_pointer_wrapper_test(type<T>()))
sizeof(detail::is_pointer_wrapper_test(boost::type<T>()))
== sizeof(detail::yes_pointer_wrapper_t)));
};