[#bsl-unordered_set-0d2d-hash_function]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered&lowbar;set]::hash&lowbar;function
:relfileprefix: ../../
:mrdocs:

Return (a copy of) the hash unary functor used by this set to generate a hash value (of type `size&lowbar;t`) for a `key&lowbar;type` object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/unordered_set-0d2d/hasher.adoc[unordered&lowbar;set&lt;KEY, HASH, EQUAL, ALLOCATOR&gt;::hasher]
hash&lowbar;function() const;
----


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