[#BloombergLP-bslstl-HashTable_HashWrapper-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable_HashWrapper-03.adoc[HashTable&lowbar;HashWrapper]&lt;FUNCTOR const&gt;
:relfileprefix: ../../
:mrdocs:

Partial specialization for const&hyphen;qualified hash functors&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;hashtable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class FUNCTOR&gt;
class xref:BloombergLP/bslstl/HashTable_HashWrapper-03.adoc[HashTable&lowbar;HashWrapper]&lt;FUNCTOR const&gt;;
----

== Description

This partial specialization handles `const` qualified functors, that may not be stored as a `mutable` member in the primary template&period; The need to wrap such functors diminishes greatly, as there is no need to play mutable tricks to invoke the function call operator&period; An alternative to providing this specialization would be to skip the wrapper entirely if using a `const` qualified functor in a `HashTable`&period; Note that this type has a `const` qualified data member, so is neither assignable nor swappable&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/HashTable_HashWrapper-02/2constructor-08.adoc[`HashTable&lowbar;HashWrapper`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bslstl/HashTable_HashWrapper-02/functor.adoc[`functor`] 
| Return a reference providing non&hyphen;modifiable access to the hash functor wrapped by this object&period;
| xref:BloombergLP/bslstl/HashTable_HashWrapper-02/operator_call.adoc[`operator()`] 
| Call the wrapped hash functor with `arg`&period;
|===



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