UnionDeclaration

Unions are a variation on structs.

extern (C++) final
class UnionDeclaration : StructDeclaration {}

Inherited Members

From StructDeclaration

determineTypeProperties
void determineTypeProperties()

Compute cached type properties for TypeStruct

isPOD
bool isPOD()

Determine if struct is POD (Plain Old Data).

hasCopyConstruction
bool hasCopyConstruction()

Determine if struct has copy construction (copy constructor or postblit)

hasRegularCtor
bool hasRegularCtor(bool checkDisabled)

Verifies whether the struct declaration has a constructor that is not a copy constructor. Optionally, it can check whether the struct declaration has a regular constructor, that is not disabled.

Meta