Subject: Re: multiple inheritance
From: Dom Lachowicz (dominicl@seas.upenn.edu)
Date: Thu Oct 11 2001 - 08:59:39 CDT
Quoting F J Franklin <F.J.Franklin@sheffield.ac.uk>:
> I half-remember reading something in Stroustrup about classes and
> multiple
> inheritance. How portable is this? (Are there any rules against using
> multiple inheritance in AbiWord source?)
This is forbidden by the source guidelines, due to some compilers (notably
older G++ versions) not supporting it correctly.
I'm wondering what you're trying to do that might require multiple
inheritance. Not that I frown upon it (at least in the case of interfaces &
abstract classes - the java & C# answer)... Usually a "containment" model is a
good way to work around using multiple inheritance, if you feel that it's
absolutely necessary.
Dom
This archive was generated by hypermail 2b25 : Thu Oct 11 2001 - 08:59:43 CDT