Remove detail/operator_bool.hpp

This commit is contained in:
Peter Dimov committed 2024-09-25 12:49:13 +03:00
1 parent f11b931cfd
commit 000c7ae5ac
7 files changed
+24 -30

No files matched your search

+4 -2
View File
@@ -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
{