[#BloombergLP-bslh-FibonacciBadHashWrapper]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::FibonacciBadHashWrapper
:relfileprefix: ../../
:mrdocs:

This class provides a hash algorithm wrapper that improves the distribution of varying bits from the `HASH` applied to the `KEY`&period;

== Synopsis

Declared in `&lt;bslh&lowbar;fibonaccibadhashwrapper&period;h&gt;`

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

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslh/FibonacciBadHashWrapper/2constructor-00.adoc[`FibonacciBadHashWrapper`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bslh/FibonacciBadHashWrapper/operator_call.adoc[`operator()`] 
| Return the hash of the specified `key`, computed as the product of the result of the hash function supplied at construction and `k&lowbar;FIBONACCI&lowbar;HASH&lowbar;MULTIPLIER`&period;
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslh/FibonacciBadHashWrapper/k_FIBONACCI_HASH_MULTIPLIER.adoc[`k&lowbar;FIBONACCI&lowbar;HASH&lowbar;MULTIPLIER`] 
| Fibonacci hashing multiplier used to improve hash value distribution&period;
|===



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