Abstract classes vs interfaces, casting from void*

John Colvin john.loughran.colvin at gmail.com
Sun Aug 11 12:49:27 UTC 2019


On Saturday, 10 August 2019 at 17:46:37 UTC, Timon Gehr wrote:
> On 10.08.19 16:29, John Colvin wrote:
>> 
>> Ok. What would go wrong (in D) if I just replaced every 
>> interface with an abstract class?
>
> interface A{}
> interface B{}
>
> class C: A,B{ }

Yes, I know, I guess it wasn't clear unless you read my previous 
question, I said "apart from multiple inheritance".


More information about the Digitalmars-d-learn mailing list