[#BloombergLP-bslh-Hash-02-operator_call] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::xref:BloombergLP/bslh/Hash-07.adoc[Hash<>]::operator() :relfileprefix: ../../../ :mrdocs: Return a hash value for the specified `key`. == Synopsis Declared in `<bslh_hash.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> xref:BloombergLP/bslh/Hash-07.adoc[bslh::Hash<bslh::DefaultHashAlgorithm>::result_type] operator()(TYPE const& key) const; ---- == Description Returns a hash value generated by `bslh::DefaultHashAlgorithm` for the specified `key`. The value returned by the algorithm is cast to `size_t` before returning. == Return Value hash of `key`, cast to `size_t` == Parameters [cols="1,4"] |=== | Name| Description | *key* | object to hash |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#