void initialization vs alignment holes

BCS none at anon.com
Sat Mar 6 21:34:24 PST 2010


Hello Strtr,

> 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!
> 

I don't actually *know* those will be a problem, but...


-- 
... <IXOYE><





More information about the Digitalmars-d-learn mailing list