void initialization vs alignment holes

strtr strtr at spam.com
Sat Mar 6 21:29:33 PST 2010


BCS Wrote:

> Hello Strtr,
> 
> > Would you ever have an alignment hole if all the struct contains are
> > basic types(excluding bool)?
> 
> real, char[n], byte[n] and short[m] (for n%4 != 0 and m%2 != 0) might be 
> an issue.
> 
Sounds logical, thanks!




More information about the Digitalmars-d-learn mailing list