Function call operators
Synopses
Declared in <bslh_hash.h>
Compute and return the hash value of the specified input.
std::size_t
operator()(basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR> const& input) const;
Compute and return the hash value of the contents of the specified null‐terminated input. This value will be the same as the hash value of a basic_string constructed from input.
std::size_t
operator()(CHAR_TYPE const* input) const;
Returns a hash value generated by the (template parameter) type HASH_ALGORITHM for the specified type. The value returned by the HASH_ALGORITHM is cast to size_t before returning.
template<class TYPE>
bslh::Hash<bslh::DefaultHashAlgorithm>::result_type
operator()(TYPE const& key) const;
Created with MrDocs