dmd.typinf

Generate TypeInfo objects, which are needed for run-time introspection of classes.

Members

Functions

genTypeInfo
void genTypeInfo(Loc loc, Type torig, Scope* sc)

Generates the TypeInfo object associated with torig if it hasn't already been generated

getTypeInfoType
Type getTypeInfoType(Loc loc, Type t, Scope* sc)

Gets the type of the TypeInfo object associated with t

isSpeculativeType
bool isSpeculativeType(Type t)

Meta