Remove detail/operator_bool.hpp

This commit is contained in:
Peter Dimov
2024-09-25 12:49:13 +03:00
parent f11b931cfd
commit 000c7ae5ac
7 changed files with 24 additions and 30 deletions
+4 -2
View File
@@ -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
{