forked from boostorg/smart_ptr
Remove detail/operator_bool.hpp
This commit is contained in:
@@ -176,8 +176,10 @@ public:
|
||||
return px;
|
||||
}
|
||||
|
||||
// implicit conversion to "bool"
|
||||
#include <boost/smart_ptr/detail/operator_bool.hpp>
|
||||
explicit operator bool () const BOOST_SP_NOEXCEPT
|
||||
{
|
||||
return px != 0;
|
||||
}
|
||||
|
||||
bool unique() const BOOST_SP_NOEXCEPT
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user