Converting multiple inheritance code into C ++ for D language
Jean Cesar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Feb 18 21:03:16 PST 2017
On Saturday, 18 February 2017 at 19:45:45 UTC, biozic wrote:
> 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 :)
Yes this code is useless because it will serve as a hello world
using multiple inheritance or else I study the language in what
it supports and does not support to have examples where I can
base myself and have an idea of how to do just to even understand
how to implement something like this .
More information about the Digitalmars-d-learn
mailing list