This class wraps an unspecified default hashing algorithm that is appropriate for general purpose use such as generating hashes for a hash table.
Declared in <bslh_defaulthashalgorithm.h>
class DefaultHashAlgorithm;
| Name | Description |
|---|---|
result_type | Typedef indicating the value type returned by this algorithm. |
| Name | Description |
|---|---|
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. |