dmd.traits

Handle introspection functionality of the __traits() construct.

Specification: Traits

Members

Functions

getTypePointerBitmap
d_uns64 getTypePointerBitmap(Loc loc, Type t, Array!(d_uns64)* data)

get an array of size_t values that indicate possible pointer words in memory if interpreted as the type given as argument

semanticTraits
Expression semanticTraits(TraitsExp e, Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

LOGSEMANTIC
enum LOGSEMANTIC;
Undocumented in source.

Meta