This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: type_info::name question
Thomas Kunert <kunert@physik.tu-dresden.de> writes:
> IMHO, type_info::name isn't useful at all if it returns some cryptic
> string.
type_info::name *isn't* useful at all, as defined in the standard. I
particularly appreciate the fact that the string representation is
compact, albeit not human-readable. Compactness is more important
that readability when it comes to reducing the size of persistent
object stores, for one. If you really want a readable representation,
I've already explained that it's just a matter of running c++filt or
embedding it into your application.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil