[ROOT] surprising TClass::InheritsFrom

From: Axel Naumann (axel-naumann@gmx.de)
Date: Wed Jul 23 2003 - 00:22:37 MEST


Hi,

TObject::Class()->InheritsFrom(TObject::Class())

returns 1 (root 3.05/06, cvs 20 July 2003, linux, gcc 3.2). I don't recall
whether it used to be like that in earlier versions, but it's definitely
surprising (a class being its own base class?). Is this intended? If it
is, I'd appreciate a clarification in the doc.

Cheers, Axel.



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