Default hashing function for std::string. More...
#include <tpie/hash_map.h>
Public Member Functions | |
size_t | operator() (const std::string &s) const |
Calculate string hash by using std::string::c_str(). More... | |
Public Attributes | |
hash< const char * > | h |
Default hashing function for std::string.
Definition at line 88 of file hash_map.h.
|
inline |
Calculate string hash by using std::string::c_str().
s | String to hash. |
Definition at line 94 of file hash_map.h.