UnionDeclaration

Unions are a variation on structs.

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

Inherited Members

From StructDeclaration

fit
bool fit(const ref Loc loc, Scope* sc, Expressions* elements, Type stype)

Fit elements[] to the corresponding types of the struct's fields.

isPOD
bool isPOD()

Determine if struct is POD (Plain Old Data).

Meta