This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: type_info::name question
- To: egcs at cygnus dot com
- Subject: Re: type_info::name question
- From: Nathan Myers <ncm at cygnus dot com>
- Date: Mon, 12 Oct 1998 20:24:10 -0700
- Newsgroups: cygnus.egcs
- Organization: http://www.cantrip.org/
- References: <9810039073.AA907398810.cygnus.egcs@mrbusy.demon.co.uk>, <u9ogrij1s9.fsf.cygnus.egcs@yorick.cygnus.com>
Jason Merrill wrote:
>
> How would people feel about including the demangler in libgcc, and calling
> from type_info::name?
People are complaining about RTTI overhead already. The purpose
of name() was to provide a hook for serializing objects, so its
only important quality is uniqueness (for types with external linkage).
A separate function that yields a "pretty" type name given the result
of name() would probably be useful for some people.
Nathan Myers
ncm@cantrip.org