Suppose I have a POD type like this:
struct A { char a; int b; };
On my system, sizeof(A) == 8, even though size
sizeof(A) == 8
size
The implicitly-defined copy/move constructor for a non-union class X performs a memberwise copy/move of its bases and members.
12.8/15 [class.copy] in N4141
The bit pattern in the padding bytes is thus allowed to differ.