Compute and return the hash value of the specified string.

Synopsis

Declared in <bslstl_string.h>

std::size_t
operator()(basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR> const& input) const;

Return Value

hash value of the input

Parameters

Name

Description

input

string to hash

Created with MrDocs