SpecificationStructs, Unions,Class.
Sourceaggregate.d
Documentationhttps://dlang.org/phobos/dmd_aggregate.html
ClassKind: ubyte;dcppobjccClassKindToChars(ClassKindc);ClassKindc | class kind |
cMangleOverride;AggregateDeclaration:dmd.dsymbol.ScopeDsymbol;type;storage_class;structsize;alignsize;fields;deferred;classKind;cppmangle;pMangleOverride;enclosing;vthis;vthis2;invs;inv;ctor;defaultCtor;aliasthis;userDtors;aggrDtor;dtor;tidtor;fieldDtor;getRTInfo;rtInfoScope;visibility;noDefaultCtor;disableNew;sizeok;newScope(Scope*sc);nonHiddenFields();setDeprecated();isNested() const;sinit;alignmember(structalign_talignment, uintmemalignsize, uintoffset);structalign_talignment | struct alignment that is in effect |
uintmemalignsize | natural alignment of field |
uintoffset | offset to be aligned |
placeField(Locloc, ref uintnextoffset, uintmemsize, uintmemalignsize, structalign_talignment, ref uintaggsize, ref uintaggalignsize, boolisunion);Locloc | source location for error messages |
uintnextoffset | location just past the end of the previous field in the aggregate. Updated to be just past the end of this field to be placed, i.e. the future nextoffset |
uintmemsize | size of field |
uintmemalignsize | natural alignment of field |
structalign_talignment | alignment in effect for this field |
uintaggsize | size of aggregate (updated) |
uintaggalignsize | alignment of aggregate (updated) |
boolisunion | the aggregate is a union |