Xref: utzoo gnu.g++.help:567 comp.lang.c++:12051 Path: utzoo!utgpu!watserv1!watmath!uunet!samsung!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: tiemann@eng.sun.com (Michael Tiemann) Newsgroups: gnu.g++.help,comp.lang.c++ Subject: Name Distortion Scheme Needed Message-ID: <9103061643.AA02132@teacake.Eng.Sun.COM> Date: 6 Mar 91 16:43:05 GMT References: <1991Mar5.214419.12790@agate.berkeley.edu> Sender: daemon@tut.cis.ohio-state.edu Reply-To: tiemann@cygnus.com Followup-To: gnu.g++.help Organization: Cygnus Support (+1 415 322 3811) Lines: 37 Date: 5 Mar 91 21:44:19 GMT From: labc-1ia@web-3c.berkeley.edu (Andrew M. Choi) Organization: University of California, Berkeley References: <1991Mar4.214401.2267@agate.berkeley.edu>, <9103051732.AA00859@teacake.Eng.Sun.COM>, <1991Mar5.213937.12247@agate.berkeley.edu> Sender: help-g++-request@prep.ai.mit.edu In article <1991Mar5.213937.12247@agate.berkeley.edu> labc-1ia@web-3c.berkeley.edu (Andrew M. Choi) writes: >tiemann@cygnus.com writes: >> >>> Hi. Would someone please tell me where I can find >>> information about the function name distortion scheme used >>> by g++-1.37.2? Furthermore, does anyone know for sure if >>> this scheme will be used in (near) future versions of >>> g++? >> >>g++/cplus-dem.c >> >>Michael > >That's great ... thanks a lot, however ...... how do you go the other >way? That is, given the string "_foo__1Ai", it should return "A::foo(int)" ^^^^^^^^^ ^^^^^^^^^^^^ Oops .. I mean given the string "A::foo(int)", it should return "_foo__1Ai". In other words, a mangler .... > >Again, thanks for the help. > Name: Andrew Choi Internet Addr: achoi@cory.berkeley.edu Tel: (415)848-5658 #include This is build_overload_name in cplus-method.c. Michael