[#BloombergLP-bslh-Hash-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::xref:BloombergLP/bslh/Hash-07.adoc[Hash]<> :relfileprefix: ../../ :mrdocs: This struct wraps the (template parameter) type `HASH_ALGORITHM` in an interface that satisfies the `hash` requirements of the C++11 standard. == Synopsis Declared in `<bslh_hash.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> struct xref:BloombergLP/bslh/Hash-07.adoc[Hash]<>; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslh/Hash-02/HashAlgorithm.adoc[`HashAlgorithm`] | Make the `HASH_ALGORITHM` template parameter available to clients. | xref:BloombergLP/bslh/Hash-02/result_type.adoc[`result_type`] | The type of the hash value that will be returned by the function‐call operator. |=== == 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_ALGORITHM` for the specified `type`. The value returned by the `HASH_ALGORITHM` is cast to `size_t` before returning. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#