[#bsl-shared_ptr-0a-owner_equal-08] = xref:bsl.adoc[bsl]::xref:bsl/shared_ptr-0a.adoc[shared_ptr]::owner_equal :relfileprefix: ../../ :mrdocs: `owner_equal` overloads == Synopses Declared in `<bslstl_sharedptr.h>` Return `true` if this shared pointer shares ownership with `other`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ANY_TYPE> bool xref:bsl/shared_ptr-0a/owner_equal-00.adoc[owner_equal](xref:bsl/shared_ptr-0a.adoc[shared_ptr<ANY_TYPE>] const& other) const noexcept; ---- [.small]#xref:bsl/shared_ptr-0a/owner_equal-00.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ANY_TYPE> bool xref:bsl/shared_ptr-0a/owner_equal-09.adoc[owner_equal](xref:bsl/weak_ptr-0d.adoc[weak_ptr<ANY_TYPE>] const& other) const noexcept; ---- [.small]#xref:bsl/shared_ptr-0a/owner_equal-09.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#