标签:amp pre code 重载运算符 str round operator 模板 class
istream& operator>>(istream& in, Integer & s) { in>>s.num; return in; } //重载输入
ostream & operator<<(ostream &out, Integer &A) { out << A.num; return out; } //重载输出
标签:amp pre code 重载运算符 str round operator 模板 class
原文地址:https://www.cnblogs.com/ww123/p/9004664.html