[#bsl-hash-017-operator_call-01] = xref:bsl.adoc[bsl]::xref:bsl/hash-017.adoc[hash<basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>>]::operator() :relfileprefix: ../../ :mrdocs: Function call operators == Synopses Declared in `<bslh_hash.h>` Compute and return the hash value of the specified string. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:bsl/hash-017/operator_call-05.adoc[operator()](xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>] const& input) const; ---- [.small]#xref:bsl/hash-017/operator_call-05.adoc[_» more..._]# Compute and return the hash value of a null‐terminated string. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:bsl/hash-017/operator_call-03.adoc[operator()](CHAR_TYPE const* input) const; ---- [.small]#xref:bsl/hash-017/operator_call-03.adoc[_» more..._]# Return a hash value for the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> xref:BloombergLP/bslh/Hash-07.adoc[bslh::Hash<bslh::DefaultHashAlgorithm>::result_type] xref:BloombergLP/bslh/Hash-02/operator_call.adoc[operator()](TYPE const& key) const; ---- [.small]#xref:BloombergLP/bslh/Hash-02/operator_call.adoc[_» more..._]# == Return Value * hash value of the input * hash of `key`, cast to `size_t` == Parameters [cols="1,4"] |=== | Name| Description | *input* | string to hash | *key* | object to hash |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#