|
MADNESS 0.10.1
|
#include <worldhash.h>
Public Member Functions | |
| hashT | operator() (const T &t) const |
| Hashing function wrapper. | |
Hash functor.
This hash functor calls hash_value for the given type, T . The namespace for hash_value function is not specified so you are free to implement your own version for your data type as follows:
or you can specialize this functor directly.
| T | The object type to hash |
|
inline |
Hashing function wrapper.
| t | The object to be hashed |
References madness::hash_value().