forked from boostorg/smart_ptr
Remove detail/operator_bool.hpp
This commit is contained in:
1 parent
f11b931cfd
commit
000c7ae5ac
7 files changed
+24
-30
No files matched your search
@@ -85,8 +85,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;
|
||||
}
|
||||
|
||||
void swap(scoped_array & b) BOOST_SP_NOEXCEPT
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user