This class wraps a seeded hash algorithm in a C++11-compatible hash interface.
Declared in <bslh_seededhash.h>
template<
class SEED_GENERATOR,
class HASH_ALGORITHM = bslh::DefaultSeededHashAlgorithm>
struct SeededHash;
This class wraps the (template parameter) HASH_ALGORITHM, which requires a seed, in an interface that satisfies the hash requirements of the C++11 standard. The (template parameter) type SEED_GENERATOR will be used to generate the seed required by HASH_ALGORITHM.
| Name | Description |
|---|---|
result_type | The type of the hash value that will be returned by the function-call operator. |
| Name | Description |
|---|---|
SeededHash [constructor] | Constructors |
operator() | Return a hash of the specified type using the seeded hash algorithm. |