96 explicit operator bool()
const {
return _ptr !=
nullptr; }
OwnPtr< T > & operator=(U *other)
bool operator!=(T *a, const OwnPtr< T > &b)
OwnPtr(OwnPtr< U > &&other)
OwnPtr< T > & operator=(std::nullptr_t)
OwnPtr< T > & operator=(OwnPtr< U > &&other)
bool operator==(T *a, const OwnPtr< T > &b)