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

This meta&hyphen;function selects the appropriate implementation for comparing the parameterized `TYPE`&period; This generic template uses the `std&colon;&colon;equal&lowbar;to` functor&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class HASH&lowbar;KEY&gt;
struct ComparatorSelector;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:bsl/ComparatorSelector-061/Type.adoc[`Type`] 
| This `typedef` is an alias to `bsl&colon;&colon;equal&lowbar;to&lt;HASH&lowbar;KEY&gt;`&period;
|===


== Specializations

[cols="1,4"]
|===
| Name| Description
| xref:bsl/ComparatorSelector-064.adoc[`ComparatorSelector&lt;char const*&gt;`] 
| This meta&hyphen;function is specialized for `const char &ast;`, and uses the `StringComparator` functor to compare the string values&period;
|===



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