On Sunday, 7 October 2012 at 12:42:17 UTC, novice2 wrote:
and contain additional 2 trailing bytes

But, imho, this is "unproperly" to include something outside struct in its size.

Strictly speaking, nothing special is included, just empty bytes for optimization purposes. This behavior is similar to C/C++ where structures can have internal and trailing padding.

Reply via email to