class Complex{
public:
int Add(int x,int y){
return x + y;
}
int operator()(int x,int y){
return x + y;
}
};
void test01(){
Complex complex;
cout
关注
打赏
38 C++ - 函数调用符号()重载
立即登录/注册
微信扫码登录
