Thrill
0.1
|
Hashing helper that decides what is hashed.
Defaults to pointer to the object and sizeof(its type). Override these values for heap-allocated types. Some default overrides are provided.
#include <hash.hpp>
Static Public Member Functions | |
static const char * | ptr (const T &x) |
static size_t | size (const T &) |
|
inlinestatic |
Definition at line 101 of file hash.hpp.
References gen_data::x.
Referenced by HashCrc32Fallback< ValueType >::operator()(), and HashDataSwitch< std::string >::size().
|
inlinestatic |
Definition at line 103 of file hash.hpp.
Referenced by HashCrc32Fallback< ValueType >::operator()(), and HashDataSwitch< std::string >::size().