Return whether this pointer shares ownership with other.
Synopses
Declared in <bslstl_sharedptr.h>
Return whether this pointer shares ownership with other.
template<class ANY_TYPE>
bool
owner_equal(shared_ptr<ANY_TYPE> const& other) const noexcept;
Return whether this pointer shares ownership with other.
template<class ANY_TYPE>
bool
owner_equal(weak_ptr<ANY_TYPE> const& other) const noexcept;
Return Value
true if this pointer shares ownership with other
Parameters
Name |
Description |
other |
other pointer to compare or share ownership with |
Created with MrDocs