diff --git a/include/boost/type_traits/composite_traits.hpp b/include/boost/type_traits/composite_traits.hpp index c9d9e42..16a162d 100644 --- a/include/boost/type_traits/composite_traits.hpp +++ b/include/boost/type_traits/composite_traits.hpp @@ -434,6 +434,9 @@ struct is_member_function_pointer struct is_member_function_pointer{ BOOST_STATIC_CONSTANT(bool, value = true); }; +// Metrowerks thinks this creates ambiguities +# if !defined(__MWERKS__) || __MWERKS__ > 0x2406 + template struct is_member_function_pointer{ BOOST_STATIC_CONSTANT(bool, value = true); }; template @@ -617,6 +620,7 @@ struct is_member_function_pointer struct is_member_function_pointer{ BOOST_STATIC_CONSTANT(bool, value = true); }; +# endif // __MWERKS__ < 0x2406 #else namespace detail{