[#bsl-weak_ptr-0d-owner_equal-02] = xref:bsl.adoc[bsl]::xref:bsl/weak_ptr-0d.adoc[weak_ptr]::owner_equal :relfileprefix: ../../ :mrdocs: Return whether this pointer shares ownership with `other`. == Synopses Declared in `<bslstl_sharedptr.h>` Return whether this pointer shares ownership with `other`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ANY_TYPE> bool xref:bsl/weak_ptr-0d/owner_equal-0c.adoc[owner_equal](xref:bsl/shared_ptr-0a.adoc[shared_ptr<ANY_TYPE>] const& other) const noexcept; ---- [.small]#xref:bsl/weak_ptr-0d/owner_equal-0c.adoc[_» more..._]# Return whether this pointer shares ownership with `other`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ANY_TYPE> bool xref:bsl/weak_ptr-0d/owner_equal-0e.adoc[owner_equal](xref:bsl/weak_ptr-0d.adoc[weak_ptr<ANY_TYPE>] const& other) const noexcept; ---- [.small]#xref:bsl/weak_ptr-0d/owner_equal-0e.adoc[_» more..._]# == Return Value `true` if this pointer shares ownership with `other` == Parameters [cols="1,4"] |=== | Name| Description | *other* | other pointer to compare or share ownership with |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#