Function call operators
Synopses
Declared in <bslh_hash.h>
Compute and return the hash value of the specified string.
std::size_t
operator()(basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR> const& input) const;
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 tosize_t
Parameters
Name |
Description |
input |
string to hash |
key |
object to hash |
Created with MrDocs