From 48196cee54c43fe5468a33dc49fbdbe3ae832c46 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 19 Jan 2002 18:58:14 +0000 Subject: [PATCH] Fix for __MWERKS__ [SVN r12361] --- include/boost/type_traits/composite_traits.hpp | 4 ++++ 1 file changed, 4 insertions(+) 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{