type_info::name question

Alexandre Oliva oliva@dcc.unicamp.br
Wed Sep 16 21:52:00 GMT 1998

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
Universidade Estadual de Campinas, SP, Brasil

More information about the Gcc mailing list