[#BloombergLP-bdlb-CaselessStringViewHash] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::CaselessStringViewHash :relfileprefix: ../../ :mrdocs: This `struct` defines a hash operation for string views enabling `bsl::string`s or `bsl::string_view`s to be used as keys in the standard unordered associative containers such as `bsl::unordered_map` and `bsl::unordered_set`. Note that this class is an empty POD type. == Synopsis Declared in `<bdlb_caselessstringviewhash.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct CaselessStringViewHash; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/CaselessStringViewHash/argument_type.adoc[`argument_type`] | Type of the argument to the function‐call operator. | xref:BloombergLP/bdlb/CaselessStringViewHash/is_transparent.adoc[`is_transparent`] | Type alias indicating this is a transparent hash functor. | xref:BloombergLP/bdlb/CaselessStringViewHash/result_type.adoc[`result_type`] | Type of the function‐call operator's result (a hash value). |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/CaselessStringViewHash/operator_call.adoc[`operator()`] | Return a hash code generated from the contents of the specified null‐terminated `argument` string, cast to lower case. The behavior is undefined unless `argument` points to a null‐terminated string. | xref:BloombergLP/bdlb/CaselessStringViewHash/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<CaselessStringViewHash, is_trivially_default_constructible>`] | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#