AggregateDeclaration.placeField

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

class AggregateDeclaration
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: size of member for alignment purposes alignment: alignment in effect for this member paggsize: size of aggregate (updated) paggalignsize: size of aggregate for alignment purposes (updated) isunion: the aggregate is a union

Meta