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

Name

Description

Type

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

Specializations

Name

Description

ComparatorSelector<char const*>

This meta‐function is specialized for const char *, and uses the StringComparator functor to compare the string values.

Created with MrDocs