struct to byte[]

Bill Baxter dnewsgroup at billbaxter.com
Thu Dec 14 00:20:34 PST 2006


Hasan Aljudy wrote:
> 

> And with this, isn't the compiler free to rearrangre struct fields??

Nope.  See http://www.digitalmars.com/d/class.html under "Fields":
   "Explicit control of field layout is provided by struct/union types, 
not classes."

--bb



More information about the Digitalmars-d mailing list