This meta-function selects the appropriate implementation for comparing the parameterized TYPE. This generic template uses the std::equal_to functor.
Declared in <bslstp_exfunctional.h>
template<class HASH_KEY>
struct ComparatorSelector;
| Name | Description |
|---|---|
Type | This typedef is an alias to bsl::equal_to<HASH_KEY>. |
| Name | Description |
|---|---|
ComparatorSelector<char const*> | This meta-function is specialized for const char *, and uses the StringComparator functor to compare the string values. |