bsl::ComparatorSelector

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>

template<class HASH_KEY>
struct ComparatorSelector;

Type Aliases

NameDescription
Type This typedef is an alias to bsl::equal_to<HASH_KEY>.

Specializations

NameDescription
ComparatorSelector<char const*> This meta-function is specialized for const char *, and uses the StringComparator functor to compare the string values.