Return a hash value for the specified key.

Synopsis

Declared in <bslh_hash.h>

template<class TYPE>
bslh::Hash<bslh::DefaultHashAlgorithm>::result_type
operator()(TYPE const& key) const;

Description

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.

Return Value

hash of key, cast to size_t

Parameters

Name

Description

key

object to hash

Created with MrDocs