Return a hash value for the specified string.
Synopses
Declared in <bslstl_string.h>
Return a hash value for the specified string.
std::size_t
hashBasicString(string const& str);
Return a hash value for the specified string.
std::size_t
hashBasicString(wstring const& str);
Return a hash value for the specified string.
template<
class CHAR_TYPE,
class CHAR_TRAITS,
class ALLOCATOR>
std::size_t
hashBasicString(basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR> const& str);
Return Value
hash value of the specified string
Parameters
Name |
Description |
str |
string to hash |
Created with MrDocs