Return a hash value for the specified key.
Declared in <bslh_hash.h>
template<class TYPE>
bslh::Hash<bslh::DefaultHashAlgorithm>::result_type
operator()(TYPE const& key) const;
Returns a hash value generated by bslh::DefaultHashAlgorithm for the specified key. The value returned by the algorithm is cast to size_t before returning.
hash of key, cast to size_t
| Name | Description |
|---|---|
| key | object to hash |