[#BloombergLP-bslh-SeededHash]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::SeededHash
:relfileprefix: ../../
:mrdocs:

This class wraps the (template parameter) `HASH&lowbar;ALGORITHM`, which requires a seed, in an interface that satisfies the `hash` requirements of the C&plus;&plus;11 standard&period; The (template parameter) type `SEED&lowbar;GENERATOR` will be used to generate the seed required by `HASH&lowbar;ALGORITHM`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class SEED&lowbar;GENERATOR,
    class HASH&lowbar;ALGORITHM = xref:BloombergLP/bslh/DefaultSeededHashAlgorithm.adoc[bslh::DefaultSeededHashAlgorithm]&gt;
struct SeededHash;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslh/SeededHash/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/SeededHash/2constructor-0e5.adoc[`SeededHash`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bslh/SeededHash/operator_call.adoc[`operator()`] 
| Returns a hash 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]#
