Why can't we derive struct's?

Walter Bright newshound2 at digitalmars.com
Fri Dec 21 04:10:55 UTC 2018

On 12/20/2018 7:14 PM, Nicholas Wilson wrote:
> If you do struct "inheritance" with alias this, 
> because there is no multiple alias this, you can't then alias this the struct to 
> something else.


I suggest using aggregation rather than attempting multiple inheritance.

More information about the Digitalmars-d mailing list