[#bsl-weak_ptr-0d-owner_hash]
= xref:bsl.adoc[bsl]::xref:bsl/weak_ptr-0d.adoc[weak&lowbar;ptr]::owner&lowbar;hash
:relfileprefix: ../../
:mrdocs:

Return an unspecified value such that, for any object `x` where `owner&lowbar;equal(x)` is true, `owner&lowbar;hash() &equals;&equals; x&period;owner&lowbar;hash()` is true&period; Note that this is based on the hash of the address of the `BloombergLP&colon;&colon;bslma&colon;&colon;SharedPtrRep` object used by this object&period; Note also that for two empty smart pointers `x` and `y`, `x&period;owner&lowbar;hash() &equals;&equals; y&period;owner&lowbar;hash()` is true&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;sharedptr&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
owner&lowbar;hash() const noexcept;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
