运算符重载 着重关注: >> <<
这两个运算符 应该在声明的时候定义为友元的 为什么暂时还不晓得
其它的+-*/一类的 不需要声明为友元
可以直接声明为类成员函数 同时 作为隐式的 会传入*this指针 指向左操作数
因此在重载、声明函数的时候 type operator+(type);即可 而作为流插 流提来说
friend std::ostream& operator<<(std::ostream&, const type&);
friend std::istream & operator>>(std::istream&, type&);