Function call operators

Synopses

Declared in <bslh_hash.h>

Compute and return the hash value of the specified string.

Compute and return the hash value of a null‐terminated string.

std::size_t
operator()(CHAR_TYPE const* input) 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 of the input

  • hash of key, cast to size_t

Parameters

Name

Description

input

string to hash

key

object to hash

Created with MrDocs