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; }