alignForSize

fnstring alignForSize(E...)(const char[][] names...)

Order the provided members to minimize size while preserving alignment. Alignment is not always optimal for 80-bit reals, nor for structs declared as align(1).

Parameters

EA list of the types to be aligned, representing fields of an aggregate such as a struct or class.
namesThe names of the fields that are to be aligned.

Returns

A string to be mixed in to an aggregate, such as a struct or class.