[#BloombergLP-bdlb-CaselessStringViewHash]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::CaselessStringViewHash
:relfileprefix: ../../
:mrdocs:

Case&hyphen;insensitive hash functor for string views&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;caselessstringviewhash&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct CaselessStringViewHash;
----

== Description

This `struct` defines a hash operation for string views enabling `bsl&colon;&colon;string`s or `bsl&colon;&colon;string&lowbar;view`s to be used as keys in the standard unordered associative containers such as `bsl&colon;&colon;unordered&lowbar;map` and `bsl&colon;&colon;unordered&lowbar;set`&period; Note that this class is an empty POD type&period;

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/CaselessStringViewHash/argument_type.adoc[`argument&lowbar;type`] 
| Type of the argument to the function&hyphen;call operator&period;
| xref:BloombergLP/bdlb/CaselessStringViewHash/is_transparent.adoc[`is&lowbar;transparent`] 
| Type alias indicating this is a transparent hash functor&period;
| xref:BloombergLP/bdlb/CaselessStringViewHash/result_type.adoc[`result&lowbar;type`] 
| Type of the function&hyphen;call operator&apos;s result (a hash value)&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/CaselessStringViewHash/operator_call.adoc[`operator()`] 
| Return a case&hyphen;insensitive hash of the specified `argument`&period;
| xref:BloombergLP/bdlb/CaselessStringViewHash/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;CaselessStringViewHash, is&lowbar;trivially&lowbar;default&lowbar;constructible&gt;`] 
| Declare that this type is trivially copyable&period;
|===



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