[#bsl-hashBasicString-08]
= xref:bsl.adoc[bsl]::hashBasicString
:relfileprefix: ../
:mrdocs:

Return a hash value for the specified `str`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
hashBasicString(xref:bsl/wstring.adoc[wstring] const& str);
----


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