Default hashing function for std::string.
More...
#include <tpie/hash.h>
|
size_t | operator() (const std::string &s) const |
| Calculate string hash by using std::string::c_str(). More...
|
|
template<>
struct tpie::hash< std::string >
Default hashing function for std::string.
Definition at line 102 of file hash.h.
size_t tpie::hash< std::string >::operator() |
( |
const std::string & |
s | ) |
const |
|
inline |
Calculate string hash by using std::string::c_str().
- Parameters
-
Definition at line 108 of file hash.h.
The documentation for this struct was generated from the following file: