I need to align every member of every struct in a module. I can't simply add align(n) inside every struct because that seems ridiculous. I could search and paste, but then D is missing a relatively important aspect of alignment.

I have about 100 struct's to align, member wise. From what I've read, align(n){ struct x; } only aligns the struct itself, is this true? Is there a way to set global alignment for members per module or per scope?






Reply via email to