Mail Archives: djgpp/1996/05/15/20:33:47
Alexander Lehmann wrote:
> This is called C++ name mangling. The problem is that you can have the same
> function name with different parameter/return value types and the proper
> function is called depening of the types. To make the linker distinguish
> the different functions, the types are somehow encoded into the function
> names. (In a reversible manner, I think, the debugger, nm etc can correctly
> list the functions).
Precisely. Any good reference on C++ (such as _The Annotated C++ Reference_ by
Ellis and Stroustrup) will detail the manner in which the names are mangled.
It's a part of the draft standard.
--
Erik Max Francis &tSftDotIotE && http://www.alcyone.com/max && max AT alcyone DOT com
San Jose, California, U.S.A. && 37 20 07 N 121 53 38 W && the 4th R is respect
H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`- && 1love && folasade
Omnia quia sunt, lumina sunt. && Dominion, GIGO, GOOGOL, Omega, Psi, Strategem
"Out from his breast/his soul went to seek/the doom of the just." -- _Beowulf_
- Raw text -