Assigning Interface to Object
Daniel Murphy
yebblies at nospamgmail.com
Sun Jan 23 15:33:11 PST 2011
"Mandeep Singh Brar" <mandeep at brars.co.in> wrote in message
news:ihf3gs$2kve$1 at digitalmars.com...
> Hi,
>
> I was just thinking if implementing interfaces as abstract classes could
> be a workaround. Since D anyways allows multiple inheritance, so would it
> make sense
> to just declare interfaces as abstract classes. Would there be any reason
> not to do that.
>
> Thanks & Regards
> Mandeep
The big one is that D _doesn't_ allow multiple inheritance.
More information about the Digitalmars-d-learn
mailing list