This struct wraps the (template parameter) type HASH_ALGORITHM in an interface that satisfies the hash requirements of the C++11 standard.

Synopsis

Declared in <bslh_hash.h>

template<>
struct Hash<>;

Type Aliases

Name

Description

HashAlgorithm

Make the HASH_ALGORITHM template parameter available to clients.

result_type

The type of the hash value that will be returned by the function‐call operator.

Member Functions

Name

Description

operator()

Returns a hash value generated by the (template parameter) type HASH_ALGORITHM for the specified type. The value returned by the HASH_ALGORITHM is cast to size_t before returning.

Created with MrDocs