Return a hash value for the specified string.

Synopsis

Declared in <bslstl_string.h>

template<
    class CHAR_TYPE,
    class CHAR_TRAITS,
    class ALLOCATOR>
std::size_t
hashBasicString(basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR> const& str);

Description

Return a hash value for the specified str.

Return Value

hash value of the specified string

Parameters

Name

Description

str

string to hash

Created with MrDocs