TypeInfo.getHash
size_t getHash(scope const void * p) @trusted nothrow constComputes a hash of the instance of a type.
Parameters
p | pointer to start of instance of the type |
Returns
the hash
Bugs
fix https://issues.dlang.org/show_bug.cgi?id=12516 e.g. by changing this to a truly safe interface.