Bug in complex::norm

Maurizio Loreti loreti@pd.infn.it
Wed Aug 22 01:17:00 GMT 2001


> Is complex<T> required to work with non-floating point types T?

No.  ISO/IEC 14882:1998 2.6.2.2 states:
"The effect of instantiating template complex for any type other than
float, double and long double is unspecified."

-- 
Maurizio Loreti                         http://www.pd.infn.it/~loreti/mlo.html
Univ. of Padova, Dept. of Physics - Padova, Italy            loreti@pd.infn.it



More information about the Gcc mailing list