Re: multiple inheritance


Subject: Re: multiple inheritance
From: Dom Lachowicz (dominicl@seas.upenn.edu)
Date: Thu Oct 11 2001 - 09:42:16 CDT


Quoting F J Franklin <F.J.Franklin@sheffield.ac.uk>:

> > I'm wondering what you're trying to do that might require multiple
> > inheritance.
>
> I've been thinking for a few weeks about importers, particularly w.r.t.
> XML, e.g.:
>
> class ABI_EXPORT IE_Imp
> class ABI_EXPORT IE_Imp_XML : public IE_Imp
> class ABI_EXPORT IE_Imp_XHTML : public IE_Imp_XML
>
> thinking that XML import really ought to be more fundamental, so that
>
> class ABI_EXPORT IE_Imp_XML : public IE_Imp, UT_XML
>
> if that's the correct syntax.

This is sweet, esp. since I was talking about my doing this yesterday on IRC.
Please feel free to do this. The SVG and XAP_Prefs stuff will greatly benefit
from this.

> If it's just old versions of G++ that have problems with multiple
> inheritance, is it worth consigning that piece of folklore to the
> fairy-tale books as a story to frighten our children with?

IIRC, solaris compilers have issues with this too. But then there's always g++
on solarisfreeware.com ... You have my blessing.

Dom



This archive was generated by hypermail 2b25 : Thu Oct 11 2001 - 09:42:19 CDT