[ROOT] Multiple inheritance and ROOT files

From: Pierre-Luc Drouin (pldrouin@physics.carleton.ca)
Date: Mon Jun 09 2003 - 20:00:46 MEST


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