-
Enhancement
-
Resolution: Unresolved
-
P3
-
None
-
None
The current `MemoryLayout::structLayout` and `MemoryLayout::unionLayout` require the provided members to be well aligned (i.e. may require internal padding to be explicitly provided) up front and does not insert any additional trailing padding potentially necessary if the returned struct/union is to be used in a sequence layout.
We should add new factories that provide C-like factories that automatically inserts padding (inter and trailing) if needed.
We should add new factories that provide C-like factories that automatically inserts padding (inter and trailing) if needed.