BloombergLP::bslh::DefaultHashAlgorithm

This class wraps an unspecified default hashing algorithm that is appropriate for general purpose use such as generating hashes for a hash table.

Synopsis

Declared in <bslh_defaulthashalgorithm.h>

class DefaultHashAlgorithm;

Type Aliases

NameDescription
result_type Typedef indicating the value type returned by this algorithm.

Member Functions

NameDescription
DefaultHashAlgorithm [constructor]Create a bslh::DefaultHashAlgorithm, default constructing the algorithm being used internally.
computeHash Return the finalized hash value accumulated by this algorithm.
operator() Incorporate the specified data of numBytes into the hash state.