[1] https://dlang.org/library/object/type_info.html
Defining a class toHash() that include the typeinfo
Per Nordlöw via Digitalmars-d-learn Fri, 21 Dec 2018 07:11:13 -0800
What's the preferred way of defining a `toHash()` for a concrete
class that includes the TypeInfo [1] in the hash? Is it ok to
hash only the address of the typeinfo pointer, assuming it's
statically allocated?