(热知识)
只改变参数标识符不形成重载
void Set(int t);
void Set(int a); //function cannot be redeclared
修饰词不形成重构
void Set(int t);
void Set(const int a); //function cannot be redeclared
(热知识)
只改变参数标识符不形成重载
void Set(int t);
void Set(int a); //function cannot be redeclared
修饰词不形成重构
void Set(int t);
void Set(const int a); //function cannot be redeclared