[Issue 17954] init member should be disallowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 31 12:25:27 UTC 2017


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

--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
We are not adding anything. init already is a pseudo-keyword by convention, and
is used everywhere. Moving to a __traits addition would be costly (so much code
already uses T.init), and not offer really much benefit. Plus it would be
disturbingly verbose. It would be a step backwards, IMO.

--


More information about the Digitalmars-d-bugs mailing list