Showing posts with label Compiler. Show all posts
Showing posts with label Compiler. Show all posts

Saturday, 23 June 2012

Why do C++ compilers need name mangling?

Name mangling is the rule according to which C++ changes function's name into function signature before passing that function to a linker. This is how the linker differentiates between different functions with the same name (overloaded functions).