type_info::name

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri Mar 3 13:12:00 GMT 2000


> > Is there a possibility to get a readable class name from type_info::name?
> 
> You can link your program with libiberty and use the symbol name
> demangler in there.

Can you? What function do I call, and what do I pass it?

I've tried, and it would not demangle, because it expects a mangled
method or function.

Martin


More information about the Gcc mailing list