[#bsl-hash-017-operator_call-03]
= 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 contents of the specified null&hyphen;terminated `input`&period; This value will be the same as the hash value of a `basic&lowbar;string` constructed from `input`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
operator()(CHAR&lowbar;TYPE const* input) const;
----


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