Second try, revert to old Sun behavior for 5.8 and below

[SVN r34479]
This commit is contained in:
Peter Dimov
2006-07-07 22:48:20 +00:00
parent 7e5d7011e6
commit 7c477960d3

View File

@@ -323,14 +323,14 @@ public:
// implicit conversion to "bool" // 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 operator bool () const
{ {
return px != 0; return px != 0;
} }
#elif defined( _MANAGED ) || defined( __SUNPRO_CC ) #elif defined( _MANAGED )
static void unspecified_bool( this_type*** ) static void unspecified_bool( this_type*** )
{ {