From 015879b170c6d477a3d7aeba21e35e70cc170355 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 16 Sep 2002 21:30:37 +0000 Subject: [PATCH] Attempted IRIX CC workaround [SVN r15389] --- include/boost/mpl/aux_/has_size.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/mpl/aux_/has_size.hpp b/include/boost/mpl/aux_/has_size.hpp index 2f210cd..76ccc16 100644 --- a/include/boost/mpl/aux_/has_size.hpp +++ b/include/boost/mpl/aux_/has_size.hpp @@ -33,16 +33,16 @@ namespace aux { // Rani Sharoni (comp.lang.c++.moderated, 2002-03-17 07:45:09 PST) template< typename T > -yes_tag has_size_helper(type_wrapper, BOOST_MSVC_TYPENAME T::size*); +yes_tag has_size_helper(type_wrapper*, BOOST_MSVC_TYPENAME T::size*); template< typename T > -no_tag has_size_helper(type_wrapper, ...); +no_tag has_size_helper(type_wrapper*, ...); template< typename T > struct has_size { BOOST_STATIC_CONSTANT(bool, value = - sizeof(has_size_helper(type_wrapper(), 0)) == sizeof(yes_tag) + sizeof(has_size_helper((type_wrapper*)0, 0)) == sizeof(yes_tag) ); };