forked from boostorg/type_traits
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:
@ -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>
|
||||
|
Reference in New Issue
Block a user