[#BloombergLP-bslh-Hash-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::xref:BloombergLP/bslh/Hash-07.adoc[Hash]&lt;&gt;
:relfileprefix: ../../
:mrdocs:

This struct wraps the (template parameter) type `HASH&lowbar;ALGORITHM` in an interface that satisfies the `hash` requirements of the C&plus;&plus;11 standard&period;

== Synopsis

Declared in `&lt;bslh&lowbar;hash&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
struct xref:BloombergLP/bslh/Hash-07.adoc[Hash]&lt;&gt;;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslh/Hash-02/HashAlgorithm.adoc[`HashAlgorithm`] 
| Make the `HASH&lowbar;ALGORITHM` template parameter available to clients&period;
| xref:BloombergLP/bslh/Hash-02/result_type.adoc[`result&lowbar;type`] 
| The type of the hash value that will be returned by the function&hyphen;call operator&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslh/Hash-02/operator_call.adoc[`operator()`] 
| Returns a hash value generated by the (template parameter) type `HASH&lowbar;ALGORITHM` for the specified `type`&period; The value returned by the `HASH&lowbar;ALGORITHM` is cast to `size&lowbar;t` before returning&period;
|===



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