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.

No comments:

Post a Comment

comment on this post

Note: Only a member of this blog may post a comment.