mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-31 13:17:23 +02:00
Second try, revert to old Sun behavior for 5.8 and below
[SVN r34479]
This commit is contained in:
@@ -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*** )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user