|
Blender
V2.93
|
#include <BLI_hash.hh>
Public Member Functions | |
| uint64_t | operator() (const T &value) const |
If there is no other specialization of #DefaultHash for a given type, try to call hash() on the value. If there is no such method, this will result in a compiler error. Usually that means that you have to implement a hash function using one of three strategies listed above.
In the case of an enum type, the default hash is just to cast the enum value to an integer.
Definition at line 94 of file BLI_hash.hh.
|
inline |
Definition at line 95 of file BLI_hash.hh.