From 0b8eb1d8f461ba99de28f8af570988d1877c1d23 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 17 Sep 2002 00:23:27 +0000 Subject: [PATCH] Old EDG workaround [SVN r15391] --- include/boost/mpl/aux_/has_rebind.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) ); };