[#bsl-owner_equal-operator_call-0b] = xref:bsl.adoc[bsl]::xref:bsl/owner_equal.adoc[owner_equal]::operator() :relfileprefix: ../../ :mrdocs: Return `true` if `x` and `y` share the same ownership representation. == Synopsis Declared in `<bslstl_ownerequal.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class ELEMENT_TYPE_X, class ELEMENT_TYPE_Y> bool 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; ---- == Description Equality is determined by comparing the addresses of the `BloombergLP::bslma::SharedPtrRep` objects used by the specified `x` and `y`. == Return Value `true` if `x` and `y` share the same ownership representation, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *x* | first smart pointer whose ownership is compared | *y* | second smart pointer whose ownership is compared |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#