I wonder if it makes a difference for layout. So for example:struct T { struct { int x; ubyte y; } ubyte z; } If there is padding inserted between y and z.
There isn't. T.init.z.offsetof - T.init.y.offsetof == 1.
I wonder if it makes a difference for layout. So for example:struct T { struct { int x; ubyte y; } ubyte z; } If there is padding inserted between y and z.
There isn't. T.init.z.offsetof - T.init.y.offsetof == 1.