summaryrefslogtreecommitdiff
path: root/boost/intrusive/detail/get_value_traits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/intrusive/detail/get_value_traits.hpp')
-rw-r--r--boost/intrusive/detail/get_value_traits.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/intrusive/detail/get_value_traits.hpp b/boost/intrusive/detail/get_value_traits.hpp
index 686e059583..222f8078a6 100644
--- a/boost/intrusive/detail/get_value_traits.hpp
+++ b/boost/intrusive/detail/get_value_traits.hpp
@@ -107,9 +107,9 @@ BOOST_INTRUSIVE_INTERNAL_STATIC_BOOL_IS_TRUE(internal_base_hook, hooktags::is_ba
template <class T>
struct internal_member_value_traits
{
- template <class U> static one test(...);
- template <class U> static two test(typename U::member_value_traits* = 0);
- static const bool value = sizeof(test<T>(0)) == sizeof(two);
+ template <class U> static yes_type test(...);
+ template <class U> static no_type test(typename U::member_value_traits* = 0);
+ static const bool value = sizeof(test<T>(0)) == sizeof(no_type);
};
template<class SupposedValueTraits, class T, bool = is_default_hook_tag<SupposedValueTraits>::value>