Do the padding bytes of a POD type get copied? – stackoverflow.com

Suppose I have a POD type like this: struct A { char a; int b; }; On my system, sizeof(A) == 8, even though sizeof(char) == 1 and sizeof(b) == 4. This means that the data structure has 3 ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Do the padding bytes of a POD type get copied? – stackoverflow.com"