[Issue 19917] unions should require that all members are `= void` initialised

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 29 21:16:41 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19917

--- Comment #4 from Manu <turkeyman at gmail.com> ---
Wow.
Seriously, the only sensible thing to do is issue a compile error if more than
one item doesn't have `= void`. That would be very sane.

--


More information about the Digitalmars-d-bugs mailing list