AggregateDeclaration.alignmember

Do byte or word alignment as necessary. Align sizes of 0, as we may not know array sizes yet.

class AggregateDeclaration
extern (D) static pure nothrow @safe
void
alignmember
(
structalign_t alignment
,
uint size
,
uint* poffset
)

Parameters

alignment structalign_t

struct alignment that is in effect

size uint

alignment requirement of field

poffset uint*

pointer to offset to be aligned

Suggestion Box / Bug Report