3 ms·
What the language standard does not specify (and is very explicit about not doing) is padding between struct members, if any. However, the ABI spec for the com
by mansr 13y ago
What the language standard does not specify (and is very explicit about not doing) is padding between struct members, if any. However, the ABI spec for the compilation target details exactly how a struct must be laid out. If this were not the case, libraries could not work.