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

Synopsis

Declared in <bslstl_string.h>

std::size_t
operator()(CHAR_TYPE const* input) const;

Description

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.

Return Value

hash value of the input

Parameters

Name

Description

input

null‐terminated character string to hash

Created with MrDocs