[#bsl-hash-017-operator_call-05]
= xref:bsl.adoc[bsl]::xref:bsl/hash-017.adoc[hash&lt;basic&lowbar;string&lt;CHAR&lowbar;TYPE, CHAR&lowbar;TRAITS, ALLOCATOR&gt;&gt;]::operator()
:relfileprefix: ../../
:mrdocs:

Compute and return the hash value of the specified string&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
operator()(xref:bsl/basic_string-0faf.adoc[basic&lowbar;string&lt;CHAR&lowbar;TYPE, CHAR&lowbar;TRAITS, ALLOCATOR&gt;] const& input) const;
----

== Return Value

hash value of the input

== Parameters

[cols="1,4"]
|===
| Name| Description
| *input*
| string to hash
|===


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