函数参数,const 引用 和 非 const引用是不同的函数。

举个例子,

void f(const int &x)

void f(int &x)

是不同的函数。

函数的返回值不能作为区分

猜你喜欢

转载自www.cnblogs.com/buddho/p/9570018.html