Can we just have struct inheritence already?

KnightMare black80 at bk.ru
Sun Jun 9 08:50:20 UTC 2019


On Sunday, 9 June 2019 at 08:19:46 UTC, KnightMare wrote:
> On Sunday, 9 June 2019 at 08:05:34 UTC, Manu wrote:
>
>> struct DerivedStruct : BaseStruct {
>>     // derived members
>> }
>> Just imagine!
>
> +1
>
> you want to make better C, so make code familiar for C-users.

oops! C hasn't struct inheritance. my fault and excuse.
but it simple comfortable feature.



More information about the Digitalmars-d mailing list