TypeInfo_Class confusion

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sat Aug 9 11:28:20 UTC 2025


The code looks fine.

TypeInfo is used at runtime to describe compile time constructs.

Classes require it for down casting, it is acquired from the runtime value.

For instance if the reference is null, the TypeInfo should be null as well.


More information about the Digitalmars-d-learn mailing list