[#bsl-ComparatorSelector-061] = xref:bsl.adoc[bsl]::ComparatorSelector :relfileprefix: ../ :mrdocs: This meta‐function selects the appropriate implementation for comparing the parameterized `TYPE`. This generic template uses the `std::equal_to` functor. == Synopsis Declared in `<bslstp_exfunctional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class HASH_KEY> struct ComparatorSelector; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:bsl/ComparatorSelector-061/Type.adoc[`Type`] | This `typedef` is an alias to `bsl::equal_to<HASH_KEY>`. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:bsl/ComparatorSelector-064.adoc[`ComparatorSelector<char const*>`] | This meta‐function is specialized for `const char *`, and uses the `StringComparator` functor to compare the string values. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#