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