
26 Mar
2008
26 Mar
'08
2:17 p.m.
Reetesh Mukul a écrit :
That is, though std::complex<double> is quite natural we can have the construct std::complex<int> as well. FYI, this is not true:
The standard, 26.2/2: *The effect of instantiating the template complex for any type other than float, double or long double is unspecified.*
-- Loïc