This meta-function selects the appropriate implementation for comparing the parameterized TYPE. This generic template uses the std::equal_to functor.
Declared in <bslstp_hash.h>
template<class HASH_KEY>
struct HashSelector;
| Name | Description |
|---|---|
Type | Hash functor type selected for HASH_KEY. |
| Name | Description |
|---|---|
HashSelector<char> | |
HashSelector<int> | |
HashSelector<long> | |
HashSelector<long long> | |
HashSelector<short> | |
HashSelector<signed char> | |
HashSelector<unsigned char> | |
HashSelector<unsigned int> | |
HashSelector<unsigned long> | |
HashSelector<unsigned long long> | |
HashSelector<unsigned short> | |
HashSelector<char const*> | |
HashSelector<HASH_KEY const> | Partial specialization to treat const qualified types in exactly the same way as the non-const qualified type. Users should rarely, if ever, need this specialization but would be surprised by their results if used accidentally, and it were not supplied.. |