[#BloombergLP-bslh-SeededHash-operator_call]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::xref:BloombergLP/bslh/SeededHash.adoc[SeededHash]::operator()
:relfileprefix: ../../../
:mrdocs:

Return a hash of the specified `type` using the seeded hash algorithm&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
xref:BloombergLP/bslh/SeededHash/result_type.adoc[SeededHash&lt;SEED&lowbar;GENERATOR, HASH&lowbar;ALGORITHM&gt;::result&lowbar;type]
operator()(TYPE const& type) const;
----

== Description

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;

== Return Value

hash of `type`, cast to `size&lowbar;t`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *type*
| value to hash
|===


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