Why can't we derive struct's? (Hansel & Gretel)

Walter Bright newshound2 at digitalmars.com
Fri Dec 21 11:28:21 UTC 2018


On 12/20/2018 11:23 PM, Manu wrote:
> I don't think I've ever wanted multiple inheritance in D,

That's what multiple alias this is.

> and occasionally multiple implicit conversions.

Another feature that looks great in the small, but turns into a hopeless morass 
all too quickly. Even C++ gave up on that, which meant it was pretty bad :-)

(Basically, nobody could figure out which overload was being called and why.)



More information about the Digitalmars-d mailing list