AggregateDeclaration.placeField

Place a member (mem) into an aggregate (agg), which can be a struct, union or class

class AggregateDeclaration
extern (D) static
uint
placeField
(,
uint memsize
,,
structalign_t alignment
,
uint* paggsize
,,
bool isunion
)

Return Value

Type: uint

offset to place field at

nextoffset: next location in aggregate memsize: size of member memalignsize: natural alignment of member alignment: alignment in effect for this member paggsize: size of aggregate (updated) paggalignsize: alignment of aggregate (updated) isunion: the aggregate is a union

Suggestion Box / Bug Report