[#BloombergLP-bslstp-HashSelector-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstp.adoc[bslstp]::HashSelector :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_hash.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class HASH_KEY> struct HashSelector; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstp/HashSelector-04/Type.adoc[`Type`] | Hash functor type selected for `HASH_KEY`. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstp/HashSelector-00.adoc[`HashSelector<char>`] | This meta‐function is specialized for `char`, and uses the `Hash<char>` functor to hash values of that type. | xref:BloombergLP/bslstp/HashSelector-0cf.adoc[`HashSelector<int>`] | This meta‐function is specialized for `int`, and uses the `Hash<int>` functor to hash values of that type. | xref:BloombergLP/bslstp/HashSelector-03.adoc[`HashSelector<long>`] | This meta‐function is specialized for `long`, and uses the `Hash<long>` functor to hash values of that type. | xref:BloombergLP/bslstp/HashSelector-02c.adoc[`HashSelector<long long>`] | This meta‐function is specialized for `long long`, and uses the `Hash<long long>` functor to hash values of that type. | xref:BloombergLP/bslstp/HashSelector-0ea.adoc[`HashSelector<short>`] | This meta‐function is specialized for `short`, and uses the `Hash<short>` functor to hash values of that type. | xref:BloombergLP/bslstp/HashSelector-07.adoc[`HashSelector<signed char>`] | This meta‐function is specialized for `signed char`, and uses the `Hash<signed char>` functor to hash values of that type. | xref:BloombergLP/bslstp/HashSelector-05.adoc[`HashSelector<unsigned char>`] | This meta‐function is specialized for `unsigned char`, and uses the `Hash<unsigned char>` functor to hash values of that type. | xref:BloombergLP/bslstp/HashSelector-0d.adoc[`HashSelector<unsigned int>`] | This meta‐function is specialized for `unsigned int`, and uses the `Hash<unsigned int>` functor to hash values of that type. | xref:BloombergLP/bslstp/HashSelector-0e9.adoc[`HashSelector<unsigned long>`] | This meta‐function is specialized for `unsigned long`, and uses the `Hash<unsigned long>` functor to hash values of that type. | xref:BloombergLP/bslstp/HashSelector-027.adoc[`HashSelector<unsigned long long>`] | This meta‐function is specialized for `unsigned long long`, and uses the `Hash<unsigned long long>` functor to hash values of that type. | xref:BloombergLP/bslstp/HashSelector-01.adoc[`HashSelector<unsigned short>`] | This meta‐function is specialized for `unsigned short`, and uses the `Hash<unsigned short>` functor to hash values of that type. | xref:BloombergLP/bslstp/HashSelector-0a.adoc[`HashSelector<char const*>`] | This meta‐function is specialized for `const char *`, and uses the `HashCString` functor to hash the string values. | xref:BloombergLP/bslstp/HashSelector-0c2.adoc[`HashSelector<HASH_KEY const>`] | Partial specialization that hashes `const` types as their non‐`const` type. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#