4 ms·
"If you are using mulitple inheritance to reuse code, you should think twice (even with regular inheritance). Unless there is a meaningful is-a relationship, th
by eweise 15y ago
"If you are using mulitple inheritance to reuse code, you should think twice (even with regular inheritance). Unless there is a meaningful is-a relationship, this is best accomplished via composition."
Multiple inheritance is not just for specialization. See http://en.wikipedia.org/wiki/Mixin http://en.wikipedia.org/wiki/Mixin