[#BloombergLP-bslstl-HashTable_ComparatorWrapper-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable_ComparatorWrapper-0e.adoc[HashTable_ComparatorWrapper]<FUNCTOR const> :relfileprefix: ../../ :mrdocs: This partial specialization handles `const` qualified functors, that may not be stored as a `mutable` member in the primary template. The need to wrap such functors diminishes greatly, as there is no need to play mutable tricks to invoke the function call operator. An alternative to providing this specialization would be to skip the wrapper entirely if using a `const` qualified functor in a `HashTable`. Note that this type has a `const` qualified data member, so is neither assignable nor swappable. == Synopsis Declared in `<bslstl_hashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class FUNCTOR> class xref:BloombergLP/bslstl/HashTable_ComparatorWrapper-0e.adoc[HashTable_ComparatorWrapper]<FUNCTOR const>; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/HashTable_ComparatorWrapper-0d/2constructor-09.adoc[`HashTable_ComparatorWrapper`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bslstl/HashTable_ComparatorWrapper-0d/functor.adoc[`functor`] | Return a reference providing non‐modifiable access to the hash functor wrapped by this object. | xref:BloombergLP/bslstl/HashTable_ComparatorWrapper-0d/operator_call.adoc[`operator()`] | Call the wrapped `functor` with the specified `arg1` and `arg2` (in that order) and return the result. Note that `ARGn_TYPE` will typically be deduced as a `const` type. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#