owner_equal overloads
Synopses
Declared in <bslstl_sharedptr.h>
Return true if this shared pointer shares ownership with other.
template<class ANY_TYPE>
bool
owner_equal(shared_ptr<ANY_TYPE> const& other) const noexcept;
Return true if the address of the BloombergLP::bslma::SharedPtrRep object used by this shared pointer is equal to the address of the BloombergLP::bslma::SharedPtrRep object used by the specified other shared pointer, and false otherwise.
template<class ANY_TYPE>
bool
owner_equal(weak_ptr<ANY_TYPE> const& other) const noexcept;
Created with MrDocs