From 7c477960d3ebf526fa6c9dea13470127337b25c8 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 7 Jul 2006 22:48:20 +0000 Subject: [PATCH] Second try, revert to old Sun behavior for 5.8 and below [SVN r34479] --- include/boost/shared_ptr.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/shared_ptr.hpp b/include/boost/shared_ptr.hpp index 0aaa48d..1924c9f 100644 --- a/include/boost/shared_ptr.hpp +++ b/include/boost/shared_ptr.hpp @@ -323,14 +323,14 @@ public: // implicit conversion to "bool" -#if defined(__SUNPRO_CC) && BOOST_WORKAROUND(__SUNPRO_CC, <= 0x530) +#if defined(__SUNPRO_CC) && BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580) operator bool () const { return px != 0; } -#elif defined( _MANAGED ) || defined( __SUNPRO_CC ) +#elif defined( _MANAGED ) static void unspecified_bool( this_type*** ) {