标签:bsp end lex opera typename 友元函数 pen stream turn
friend ostream& operator<< <T>(ostream &out, Complex &c);
template <typename T>
ostream& operator<<(ostream &out, Complex<T> &c)
{
out << c.a << " " << c.b << endl;
return out;
}
标签:bsp end lex opera typename 友元函数 pen stream turn
原文地址:https://www.cnblogs.com/ya-cpp/p/9585849.html