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

This class is a functor that provides comparison between two `const char &ast;` strings&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;exfunctional&period;h&gt;`

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

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:bsl/StringComparator/operator_call.adoc[`operator()`] 
| Return whether the specified null&hyphen;terminated strings compare equal&period;
| xref:bsl/StringComparator/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;StringComparator, is&lowbar;trivially&lowbar;copyable&gt;`] 
| Nested trait declaration for `bsl&colon;&colon;is&lowbar;trivially&lowbar;copyable`&period;
|===



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