Once again, I\'m questioning a longstanding belief.
Until today, I believed that the alignment of the following struct would normally be 4 and the size would normall
The standard says (section [dcl.array]:
An object of array type contains a contiguously allocated non-empty set of N subobjects of type T.
Therefore there is no padding between array elements.
Padding inside structures is not required by the standard, but the standard doesn't permit any other way of aligning array elements.