Multiple class inheritance
downs
default_357-line at yahoo.de
Tue Feb 5 09:02:18 PST 2008
Heinz wrote:
> Hi,
>
> Is it posible to do multiple class inheritance in D?
>
> Example:
>
> class A
> {
>
> }
>
> class B
> {
>
> }
>
> class C : A, B
> {
>
> }
>
> Am i dreaming or it can be done?
You're dreaming. :)
http://digitalmars.com/d/1.0/class.html
"D classes support the single inheritance paradigm, extended by adding support for interfaces. "
--downs
More information about the Digitalmars-d-learn
mailing list