forked from boostorg/smart_ptr
Fix compare_fail failure
[SVN r37373]
This commit is contained in:
@ -323,8 +323,6 @@ 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, <= 0x530)
|
||||||
|
|
||||||
operator bool () const
|
operator bool () const
|
||||||
@ -334,8 +332,6 @@ public:
|
|||||||
|
|
||||||
#elif defined( _MANAGED )
|
#elif defined( _MANAGED )
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
static void unspecified_bool( this_type*** )
|
static void unspecified_bool( this_type*** )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -347,8 +343,6 @@ public:
|
|||||||
return px == 0? 0: unspecified_bool;
|
return px == 0? 0: unspecified_bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
#elif \
|
#elif \
|
||||||
( defined(__MWERKS__) && BOOST_WORKAROUND(__MWERKS__, < 0x3200) ) || \
|
( defined(__MWERKS__) && BOOST_WORKAROUND(__MWERKS__, < 0x3200) ) || \
|
||||||
( defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ < 304) )
|
( defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ < 304) )
|
||||||
@ -371,8 +365,6 @@ public:
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
// operator! is redundant, but some compilers need it
|
// operator! is redundant, but some compilers need it
|
||||||
|
|
||||||
bool operator! () const // never throws
|
bool operator! () const // never throws
|
||||||
|
Reference in New Issue
Block a user