[#BloombergLP-bslstp-HashSelector-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstp.adoc[bslstp]::HashSelector
:relfileprefix: ../../
:mrdocs:

This meta&hyphen;function selects the appropriate implementation for comparing the parameterized `TYPE`&period; This generic template uses the `std&colon;&colon;equal&lowbar;to` functor&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;hash&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class HASH&lowbar;KEY&gt;
struct HashSelector;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstp/HashSelector-04/Type.adoc[`Type`] 
| Hash functor type selected for `HASH&lowbar;KEY`&period;
|===


== Specializations

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstp/HashSelector-00.adoc[`HashSelector&lt;char&gt;`] 
| This meta&hyphen;function is specialized for `char`, and uses the `Hash&lt;char&gt;` functor to hash values of that type&period;
| xref:BloombergLP/bslstp/HashSelector-0cf.adoc[`HashSelector&lt;int&gt;`] 
| This meta&hyphen;function is specialized for `int`, and uses the `Hash&lt;int&gt;` functor to hash values of that type&period;
| xref:BloombergLP/bslstp/HashSelector-03.adoc[`HashSelector&lt;long&gt;`] 
| This meta&hyphen;function is specialized for `long`, and uses the `Hash&lt;long&gt;` functor to hash values of that type&period;
| xref:BloombergLP/bslstp/HashSelector-02c.adoc[`HashSelector&lt;long long&gt;`] 
| This meta&hyphen;function is specialized for `long long`, and uses the `Hash&lt;long long&gt;` functor to hash values of that type&period;
| xref:BloombergLP/bslstp/HashSelector-0ea.adoc[`HashSelector&lt;short&gt;`] 
| This meta&hyphen;function is specialized for `short`, and uses the `Hash&lt;short&gt;` functor to hash values of that type&period;
| xref:BloombergLP/bslstp/HashSelector-07.adoc[`HashSelector&lt;signed char&gt;`] 
| This meta&hyphen;function is specialized for `signed char`, and uses the `Hash&lt;signed char&gt;` functor to hash values of that type&period;
| xref:BloombergLP/bslstp/HashSelector-05.adoc[`HashSelector&lt;unsigned char&gt;`] 
| This meta&hyphen;function is specialized for `unsigned char`, and uses the `Hash&lt;unsigned char&gt;` functor to hash values of that type&period;
| xref:BloombergLP/bslstp/HashSelector-0d.adoc[`HashSelector&lt;unsigned int&gt;`] 
| This meta&hyphen;function is specialized for `unsigned int`, and uses the `Hash&lt;unsigned int&gt;` functor to hash values of that type&period;
| xref:BloombergLP/bslstp/HashSelector-0e9.adoc[`HashSelector&lt;unsigned long&gt;`] 
| This meta&hyphen;function is specialized for `unsigned long`, and uses the `Hash&lt;unsigned long&gt;` functor to hash values of that type&period;
| xref:BloombergLP/bslstp/HashSelector-027.adoc[`HashSelector&lt;unsigned long long&gt;`] 
| This meta&hyphen;function is specialized for `unsigned long long`, and uses the `Hash&lt;unsigned long long&gt;` functor to hash values of that type&period;
| xref:BloombergLP/bslstp/HashSelector-01.adoc[`HashSelector&lt;unsigned short&gt;`] 
| This meta&hyphen;function is specialized for `unsigned short`, and uses the `Hash&lt;unsigned short&gt;` functor to hash values of that type&period;
| xref:BloombergLP/bslstp/HashSelector-0a.adoc[`HashSelector&lt;char const*&gt;`] 
| This meta&hyphen;function is specialized for `const char &ast;`, and uses the `HashCString` functor to hash the string values&period;
| xref:BloombergLP/bslstp/HashSelector-0c2.adoc[`HashSelector&lt;HASH&lowbar;KEY const&gt;`] 
| Partial specialization that hashes `const` types as their non&hyphen;`const` type&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
