This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++] Inheritance chain enumeration


Dave Korn wrote:

> ?To find the base classes, look at the typeinfo for the class, which will be
> abi::__class_type_info or one of its derivatives as specified in the ABI doc

It should be __si_class_type_info in my case.
Beautiful! Many thanks Dave :-)

BTW, how do you know what derivate is pointed to by a pointer during
RTTI processing, especially in the context of exception handling? Is there
a type_info for type_info, e.g. an enum?

Best regards
Piotr Wyderski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]