#include <util.h>
Definition at line 35 of file util.h.
◆ operator()()
size_t StringHash::operator() |
( |
const string & |
s | ) |
const |
|
inline |
Definition at line 36 of file util.h.
38 const char* str = s.c_str();
39 for (
int ch = 0; str[ch] != 0; ++ch) {
40 hash_code += str[ch] << (ch % 24);
The documentation for this struct was generated from the following file: