Return a hash value for the specified string.
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);
Return a hash value for the specified str.
hash value of the specified string
| Name | Description |
|---|---|
| str | string to hash |