Can we just have struct inheritence already?
KnightMare
black80 at bk.ru
Sun Jun 9 08:19:46 UTC 2019
On Sunday, 9 June 2019 at 08:05:34 UTC, Manu wrote:
> struct DerivedStruct : BaseStruct {
> // derived members
> }
> Just imagine!
+1
what is the problem not doing this?
copying is not to difficult: blit and call postblit for all
members if they have it.
what the problem i forgot?
you want to make better C, so make code familiar for C-users.
why need this problems out of the blue?
More information about the Digitalmars-d
mailing list