void initialization vs alignment holes
strtr
strtr at spam.com
Sat Mar 6 12:15:21 PST 2010
This is probably going a bit above my head, but
"the existence of alignment holes in the objects is accounted for, usually by setting them all to 0 upon initialization"
I suspect this isn't the case for void initialization; if my struct has some alignment hole I better not void initialize it if ever I want to compare it with somthing.
Is this correct?
Would you ever have an alignment hole if all the struct contains are basic types(excluding bool)?
More information about the Digitalmars-d-learn
mailing list