Can't inherit a class and multiple interfaces.

Agustin agustin.l.alvarez at hotmail.com
Fri Oct 11 18:38:21 PDT 2013


On Saturday, 12 October 2013 at 01:35:48 UTC, Agustin wrote:
> Like the the title says, i cannot inherit a class and have 
> interfaces.
>
> class A
> {
> }
>
> interface B
> {
> }
>
> class C : A, B -> Error
> {
> }
>
> I know that D doesn't support multiple classes, but that means 
> i cannot mix a class and an interface?

Oh i had a typo error, no need to answer me this :D


More information about the Digitalmars-d-learn mailing list