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

Case&hyphen;insensitive equality comparison functor for string views&period;

== Synopsis

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

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

== Description

This `struct` defines a case&hyphen;insensitive equality comparison functor on string views, enabling them for use 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/CaselessStringViewEqualTo/first_argument_type.adoc[`first&lowbar;argument&lowbar;type`] 
| Type of the first argument to the function&hyphen;call operator&period;
| xref:BloombergLP/bdlb/CaselessStringViewEqualTo/is_transparent.adoc[`is&lowbar;transparent`] 
| Type alias indicating this is a transparent hash functor&period;
| xref:BloombergLP/bdlb/CaselessStringViewEqualTo/result_type.adoc[`result&lowbar;type`] 
| Type of the function&hyphen;call operator&apos;s result&period;
| xref:BloombergLP/bdlb/CaselessStringViewEqualTo/second_argument_type.adoc[`second&lowbar;argument&lowbar;type`] 
| Type of the second argument to the function&hyphen;call operator&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/CaselessStringViewEqualTo/operator_call.adoc[`operator()`] 
| Return `true` if the specified `lhs` string view has the same (case insensitive) value as the specified `rhs` string view, and `false` otherwise&period;
| xref:BloombergLP/bdlb/CaselessStringViewEqualTo/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;CaselessStringViewEqualTo, is&lowbar;trivially&lowbar;default&lowbar;constructible&gt;`] 
| Declare that this type is trivially copyable&period;
|===



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