Can we just have struct inheritence already?

Dejan Lekic dejan.lekic at gmail.com
Mon Jun 10 10:14:10 UTC 2019


On Sunday, 9 June 2019 at 08:05:34 UTC, Manu wrote:
> Imagine if we could just write:
>
> struct DerivedStruct : BaseStruct
> {
>     // derived members
>     //...
> }
>
> Just imagine!

+1

I dream of being able to do struct DerivedStruct: SomeInterface, 
but what you are asking is also something I was wishing for 
years...


More information about the Digitalmars-d mailing list