The OpenD Programming Language

TypeInfo.getHash

Computes a hash of the instance of a type.

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

Parameters

p void*

pointer to start of instance of the type

Return Value

Type: size_t

the hash

Bugs

fix https://issues.dlang.org/show_bug.cgi?id=12516 e.g. by changing this to a truly safe interface.

Meta