Regina Calculation Engine
|
A hash function used to calculate hash values for C++ strings. More...
#include <hashutils.h>
Public Member Functions | |
size_t | operator() (const std::string &str) const |
Returns a hash value for the given string. |
A hash function used to calculate hash values for C++ strings.
This class is for use with the Standard Template Library.
size_t regina::HashString::operator() | ( | const std::string & | str | ) | const [inline] |
Returns a hash value for the given string.
str | the string whose hash value should be calculated. |