union alignment

tsbockman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat May 21 01:45:03 PDT 2016


On Wednesday, 18 May 2016 at 01:46:37 UTC, tsbockman wrote:
> Shouldn't a union type always have an `alignof` at least as 
> great as the `alignof` for its largest member?

Apparently not; it's actually DMD and LDC that are wrong here:
     http://bugzilla.gdcproject.org/show_bug.cgi?id=226



More information about the Digitalmars-d-learn mailing list