TypeInfo.getHash

size_t getHash(scope const void * p) @trusted nothrow const

Computes a hash of the instance of a type.

Parameters

ppointer 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.