Introduction to OOP
Chapter 27: Implementation :
Different classes are allowed to have functions with the same name.
Some languages (C++) even permit multiple functions with the same name within a class.
Yet linkers usually want every function to have a unique name.
- generate an internal name that encodes both class name, function name, and argument types.
, Slide 06
An encoded name is sometimes called a
. You will sometimes see mangled names in error messages generated by a linker.