s-unspecified'>1.1 Data layout is unspecified</a></h2>
<p>In the general case, <code>enum</code> and <code>struct</code> layout is undefined. This allows the
compiler to potentially do optimizations like re-using padding for the
discriminant, compacting variants of nested enums, reordering fields to remove
padding, etc. <code>enum</code>s which carry no data (&quot;C-like&quot;) are eligible to have a
defined representation. Such <code>enum</code>s are easily distinguished in that they are
simply a list of 