bsl::hash::operator()

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;
» more...

Return a hash value for the specified key.

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

Return Value

  • hash value for value
  • hash of key, cast to size_t

Parameters

NameDescription
valuevalue to hash
keyobject to hash