Multiple Inheritance of Classes

BLS nanali at nospam-wanadoo.fr
Thu Aug 14 00:21:43 PDT 2008


I guess D will never support MI.
Beside Mixins and Interfaces, you have the option to implement the (not 
very well known) twin pattern to simulate multiple inheritance.

Google for:
Twin – A Design Pattern for Modeling Multiple Inheritance

Page 4-6 , for the impatient.

/I don't use this pattern 'cause it produces too much overhead, and it 
does't solve all the problems  /

Bjoern
ps
I do not belong to the "MI is eval" group. ... probabely more to the "MI 
in C++ is eval folks".
I think  Eiffel shows that at lesat some MI related problems can be solved.



More information about the Digitalmars-d mailing list