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

This `struct` defines a comparison functor on null&hyphen;terminated character strings, 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;

== Synopsis

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

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

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/CStringEqualTo/first_argument_type.adoc[`first&lowbar;argument&lowbar;type`] 
| Type of the first argument to the function&hyphen;call operator&period;
| xref:BloombergLP/bdlb/CStringEqualTo/result_type.adoc[`result&lowbar;type`] 
| Type of the function&hyphen;call operator&apos;s result&period;
| xref:BloombergLP/bdlb/CStringEqualTo/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/CStringEqualTo/operator_call.adoc[`operator()`] 
| Return `true` if the specified `lhs` string has the same (case sensitive) value as the specified `rhs` string, and `false` otherwise&period; The behavior is undefined unless both `lhs` and `rhs` point to null&hyphen;terminated strings&period;
| xref:BloombergLP/bdlb/CStringEqualTo/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;CStringEqualTo, is&lowbar;trivially&lowbar;default&lowbar;constructible&gt;`] 
| Declare that this type is trivially copyable&period;
|===



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