diff --git a/include/boost/mpl/aux_/has_rebind.hpp b/include/boost/mpl/aux_/has_rebind.hpp index a76e351..3e05034 100644 --- a/include/boost/mpl/aux_/has_rebind.hpp +++ b/include/boost/mpl/aux_/has_rebind.hpp @@ -35,17 +35,17 @@ namespace aux { template< typename T > yes_tag -has_rebind_helper(type_wrapper, BOOST_MSVC_TYPENAME T::rebind*); +has_rebind_helper(type_wrapper*, BOOST_MSVC_TYPENAME T::rebind*); template< typename T > no_tag -has_rebind_helper(type_wrapper, ...); +has_rebind_helper(type_wrapper*, ...); template< typename T > struct has_rebind { BOOST_STATIC_CONSTANT(bool, value = - sizeof(has_rebind_helper(type_wrapper(), 0)) + sizeof(has_rebind_helper((type_wrapper*)0, 0)) == sizeof(yes_tag) ); };