[#bsl-unordered_set-0d2d-hash_function] = xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered_set]::hash_function :relfileprefix: ../../ :mrdocs: Return (a copy of) the hash unary functor used by this set to generate a hash value (of type `size_t`) for a `key_type` object. == Synopsis Declared in `<bslstl_unorderedset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_set-0d2d/hasher.adoc[unordered_set<KEY, HASH, EQUAL, ALLOCATOR>::hasher] hash_function() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#