Pasha, I apologize. I was confused because the HTML pages http://root.cern.ch/root/html/TObject.html ) generated by THtml don't seem to indicate virtual destructors. (Is this a bug in THtml?) The actual file header ( http://root.cern.ch/root/html/TObject.h ) although does. William -----Original Message----- From: Pasha Murat <murat@cdfsga.fnal.gov> To: William J Deninger <deninger@uiuc.edu> Cc: roottalk@hpsalo.cern.ch <roottalk@hpsalo.cern.ch> Date: Thursday, April 09, 1998 9:49 PM Subject: non virtual TObject::~TObject() > Hi William, > >what Fred Gray told you is correct. Let me guess that >destructors of the classes like TObject, TArray etc *ARE* implemented >as virtual for this very reason. For example TObject.h says: > >.... snip >public: > virtual ~TObject(); > Regards, Pasha. >
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:31 MET