Re: virtual inheritance and Glib::Interface



On Wed, 2006-04-05 at 22:12 +0200, Murray Cumming wrote:
> It would only be useful to, for instance, inherit TreeModel virtually
> from TreeStore and ListStore, if I was going to create classes like
> this:
> 
> DerivedA : public TreeStore
> DerivedB : public ListStore 
> 
> DerivedDerived : public TreeStore, public ListStore

I mean, 
DerivedDerived : public DerivedA, public DerivedB.

Hopefully I caught that before creating too much confusion and
explanation.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]