RE: [ROOT] Multiple inheritance and ROOT files

From: Philippe Canal (pcanal@fnal.gov)
Date: Mon Jun 09 2003 - 20:20:54 MEST


Hi Pierre,

There should not be any restriction on multiple-inheritance.  Could you
please send a tar file reproducing the problem.

Thanks,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Pierre-Luc Drouin
Sent: Monday, June 09, 2003 1:01 PM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] Multiple inheritance and ROOT files


I've a class 'C' that is derived from class 'A' and from class 'B'. The
class 'A' is derived from TObject but it's not the case for class
'B'. When the declaration of my class 'C' is

class C: public A, public B

I'm able to write an instance if class C in a ROOT file. However when the
declaration is

class C: public B, public A

Root crashes.

Is there this kind of restriction in Root with multiple inheritance?

Thank you!

Pierre-Luc Drouin



#################################################################
#################################################################
#################################################################
#####
#####
#####
#################################################################
#################################################################
#################################################################



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET