[#bsl-owner_equal-operator_call-0d] = xref:bsl.adoc[bsl]::xref:bsl/owner_equal.adoc[owner_equal]::operator() :relfileprefix: ../../ :mrdocs: Function call operators == Synopses Declared in `<bslstl_ownerequal.h>` Return `true` if `x` and `y` share the same ownership representation. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class ELEMENT_TYPE_X, class ELEMENT_TYPE_Y> bool xref:bsl/owner_equal/operator_call-02.adoc[operator()]( xref:bsl/shared_ptr-0a.adoc[shared_ptr<ELEMENT_TYPE_X>] const& x, xref:bsl/shared_ptr-0a.adoc[shared_ptr<ELEMENT_TYPE_Y>] const& y) const noexcept; ---- [.small]#xref:bsl/owner_equal/operator_call-02.adoc[_» more..._]# Same as the preceding overload, comparing a `shared_ptr` to a `weak_ptr`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class ELEMENT_TYPE_X, class ELEMENT_TYPE_Y> bool xref:bsl/owner_equal/operator_call-06.adoc[operator()]( xref:bsl/shared_ptr-0a.adoc[shared_ptr<ELEMENT_TYPE_X>] const& x, xref:bsl/weak_ptr-0d.adoc[weak_ptr<ELEMENT_TYPE_Y>] const& y) const noexcept; ---- [.small]#xref:bsl/owner_equal/operator_call-06.adoc[_» more..._]# Return `true` if the address of the `BloombergLP::bslma::SharedPtrRep` object used by the specified `x` is equal to the address of the `BloombergLP::bslma::SharedPtrRep` object used by the specified `y`, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class ELEMENT_TYPE_X, class ELEMENT_TYPE_Y> bool xref:bsl/owner_equal/operator_call-0b.adoc[operator()]( xref:bsl/weak_ptr-0d.adoc[weak_ptr<ELEMENT_TYPE_X>] const& x, xref:bsl/shared_ptr-0a.adoc[shared_ptr<ELEMENT_TYPE_Y>] const& y) const noexcept; ---- [.small]#xref:bsl/owner_equal/operator_call-0b.adoc[_» more..._]# Return `true` if the address of the `BloombergLP::bslma::SharedPtrRep` object used by the specified `x` is equal to the address of the `BloombergLP::bslma::SharedPtrRep` object used by the specified `y`, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class ELEMENT_TYPE_X, class ELEMENT_TYPE_Y> bool xref:bsl/owner_equal/operator_call-0e.adoc[operator()]( xref:bsl/weak_ptr-0d.adoc[weak_ptr<ELEMENT_TYPE_X>] const& x, xref:bsl/weak_ptr-0d.adoc[weak_ptr<ELEMENT_TYPE_Y>] const& y) const noexcept; ---- [.small]#xref:bsl/owner_equal/operator_call-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#