当前位置: X题卡 > 所有题目 > 题目详情

在某类的公共部分有声明string operator++( );和string operator++(int);则说明

查看本题答案

你可能感兴趣的试题

operator long()const;  operator long(bigNumber);  long operator long() const;  long operator long(BigNumber);  
MyClass operator*(double,doubl;  MyClass operator*(double,MyClas;  MyClass operator*(MyClass,doubl;  MyClass operator*(MyClass,MyClas;  
MyClass operator*(double,double);  MyClass operator*(double,MyClass);  MyClass operator*(MyClass,double);  MyClass operator*(MyClass,MyClass);  
string operator++();是前置自增运算符声明  string operator++();是后置自增运算符声明  string operator++(int); 是前置自增运算符声明  两条语句无区别  
operator long()const;  operator long(BigNumber);  long operator long()const;  long operator long(BigNumber);  
operator long() const;  operator long(BigNumber);  long operator long() const;  long operator long(BigNumber);  
MyC!ass operator*(double,double):  MyClass operator*(double,MyClass);  MyClass operator*(MyClass,double);  MyClass operator*(MyClass,MyClass);  
MyClass operator*(double,double);  MyClass operator*(double,MyClass);  MyClass operator*(MyClass,double);  MyClass operator*(MyClass,MyClass);  
string operator++();是前置自增运算符声明  string operator++();是后置自增运算符声明  string operator++(in; 是前置自增运算符声明  两条语句无区别  
string operator++( );是前置自增运算符声明  string( )perator++( );是后置自增运算符声明  string operator++(in;是前置自增运算符声明  两条语句无区别  
TestClass operator *(MyClass,double);  TestClass operator *(double,MyClass);  TestClass operator *(double,double);  TestClass operator *(MyClass,MyClass);  

热门试题

更多