[Issue 11864] std.variant.Variant doesn't work with CTFE
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 8 22:07:19 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=11864
--- Comment #3 from anonymous4 <dfj1esp02 at sneakemail.com> ---
Default struct value doesn't run code at runtime and there are no plans for it.
You can disable default struct constructor to make non-default constructor
mandatory, `S()` form is fine too if you declare static opCall.
--
More information about the Digitalmars-d-bugs
mailing list