Added cv-qualification to the member pointer. The issue here is that

vc6 fails to strip const from the deduced type when a member pointer
is passed by reference to a function template (I suspect it turns the
const into a qualification on the class itself), so it may need extra
help in detecting these.


[SVN r29797]
This commit is contained in:
Dave Abrahams
2005-06-26 18:00:58 +00:00
parent 4b845146e2
commit 7e95b4e2a4

View File

@ -53,7 +53,7 @@ BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC1_2(typename T,typename U,is_member_pointer,
namespace detail {
template <typename R, typename T>
::boost::type_traits::yes_type BOOST_TT_DECL is_member_pointer_tester(R T::**);
::boost::type_traits::yes_type BOOST_TT_DECL is_member_pointer_tester(R T::*const volatile*);
::boost::type_traits::no_type BOOST_TT_DECL is_member_pointer_tester(...);
template <bool>