Boost logo

Boost :

From: Bill Seymour (bsey_at_[hidden])
Date: 2001-06-07 11:45:08


>
> template<typename T>
> ostream& operator<< (ostream& os, const complex<T>& z) {
> os << '(' << real (z) << ',' << imag (z) << ')';
> return os;
> }
>

We already have it: 26.2.6 [lib.complex.ops] [15].

--Bill Seymour


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk