可能重复:
在 C++ 中,函数重载通常是如何实现的?
我正在阅读 bruce eckel 的书,OOPS
其中说明了如何处理重载函数,以防它们在返回值和传递的参数上有差异。
int fun() :: could be represented as __int__fun
float fun():: could be represented as __float__fun
int fun(int a):: as _int _fun_int
但是在c中的块的情况下重载如何工作
{
void fun(){}
...........
..
fun()
}
/......sme code/
{
void fun(){}
}
谁能解释这在内部是如何表示的?