标签:建议 关系 span 继承 operator 基类 结合 作用 log
class Complex { Complex(const double _dReal,const double _dImage); Complex(const Complex& complex); ~Complex(); Complex & operator=(const Complex& complex); Complex operator+(const Complex complex); Complex operator-(const Complex complex); Complex operator*(const Complex complex); Complex operator/(const Complex complex); Complex operator+=(const Complex complex); Complex operator-=(const Complex complex); Complex operator*=(const Complex complex); Complex operator/=(const Complex complex); bool operator<(const Complex complex); bool operator<=(const Complex complex); bool operator>(const Complex complex); bool operator>=(const Complex complex); bool operator==(const Complex complex); bool operator!=(const Complex complex); private: double _dReal; double _dImage; };
标签:建议 关系 span 继承 operator 基类 结合 作用 log
原文地址:http://www.cnblogs.com/JN-PDD/p/6613977.html