Re: Name mangling

Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
17 Jul 2001 23:23:55 -0400

          From comp.compilers

Related articles
Name mangling youngwk@yahoo.com (Young Wei Kuan) (2001-07-01)
Re: Name mangling thant@acm.org (Thant Tessman) (2001-07-02)
Re: Name mangling fjh@cs.mu.OZ.AU (2001-07-03)
Re: Name mangling toon@moene.indiv.nluug.nl (Toon Moene) (2001-07-06)
Re: Name mangling alainm@cup.hp.com (Alain Miniussi) (2001-07-06)
Re: Name mangling dosreis@cmla.ens-cachan.fr (Gabriel Dos Reis) (2001-07-17)
Re: Name mangling alainm@cup.hp.com (Alain Miniussi) (2001-07-18)
Re: Name mangling dosreis@cmla.ens-cachan.fr (Gabriel Dos Reis) (2001-07-23)
| List of all articles for this month |
From: Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
Newsgroups: comp.compilers
Date: 17 Jul 2001 23:23:55 -0400
Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
References: 01-07-008 01-07-027 01-07-038 01-07-047
Keywords: C++, GCC
Posted-Date: 17 Jul 2001 23:23:55 EDT

Toon Moene <toon@moene.indiv.nluug.nl> writes:


| the new one is more efficient (leads to shorter mangled names). At
| least, that's what I recall - IANAC++Guru.


Your recollection is right. The new mangling scheme avoids repeated
names. Try mangling and demangling "T" defined as


    using namespace std;
    typedef multimap<string, multiset<vector<list<vector<double> > > > > T;


-- Gaby


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.