Can we just have struct inheritence already?
SonicFreak94
sonicfreak94 at hotmail.com
Tue Jun 11 01:42:37 UTC 2019
On Tuesday, 11 June 2019 at 01:33:58 UTC, Exil wrote:
> You can do this with structs and alias this now. I also doubt
> code injection is something a language should consider for its
> use cases. It is only really useful for a niche.
Convenient, with the caveat that one must add that as a field
manually and then add another line to alias it. Two D lines for
the functionality of one in C++, just so that I can share
members...
More information about the Digitalmars-d
mailing list