On Monday, 18 April 2016 at 15:59:11 UTC, Steven Schveighoffer wrote:
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.


Reply via email to