Return the bdlb::HashUtil::hash1 value for key.
Declared in <bdlc_hashtable.h>
template<class KEY>
unsigned int
operator()(KEY const& key) const;
Return the result of bdlb::HashUtil::hash1 using key data and key length. If the specified key is not of type const char* or bsl::string, then the footprint and size of the object are used as key data and key length, respectively.
hash value produced by bdlb::HashUtil::hash1
| Name | Description |
|---|---|
| key | key to hash |