Function call operators

Synopses

Declared in <bslh_hash.h>

Return a hash value for the specified value.

std::size_t
operator()(TYPE const& value) const;

Return a hash value for the specified key.

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

Return Value

  • hash value for value

  • hash of key, cast to size_t

Parameters

Name

Description

value

value to hash

key

object to hash

Created with MrDocs