Converting multiple inheritance code into C ++ for D language

biozic via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Feb 18 11:45:45 PST 2017


On Saturday, 18 February 2017 at 19:05:14 UTC, Jean Cesar wrote:
> This is exactly what I want this code I did to understand how 
> would apply multiple inheritance in D, C # also process using 
> interfaces but the difference from C # to D is that C # already 
> in the base class you have to define it as interface. ..

OK, but I guess you are aware that in this code, using interfaces 
and the pseudo-multiple-inheritance is pointless! You could just 
ditch them and use regular methods :)


More information about the Digitalmars-d-learn mailing list