struct field alignment
BCS
none at anon.com
Sun Oct 17 19:14:55 PDT 2010
Hello Walter,
> http://www.digitalmars.com/d/2.0/attribute.html#align
>
> Over time, it has become clear to me that there are only two useful
> alignments:
>
> align // set to whatever the C ABI alignment is
> align(1) // pack everything in, no alignment padding
> I think any other alignments should be deprecated. Note that with
> align(1), any alignment is achievable simply by adding in byte fields
> where desired.
>
If that's the case, then having a number in there seems silly: how about
align and pack?
--
... <IXOYE><
More information about the Digitalmars-d
mailing list