ICE
Thomas Matelich
tomsara@slip-stream.net
Tue Nov 10 13:54:00 GMT 1998
#include <vector>
#include <complex>
#include <algorithm>
int main()
{
vector<complex<double> > compv(100, complex<double>(1.0, 1.0));
vector<double> doubv(100);
//transform(compv.begin(), compv.end(), doubv.begin(), abs);
//error: no matching function for call to
//`transform (complex<double> *, complex<double> *, double *,
{unknown type})'
//transform(compv.begin(), compv.end(), doubv.begin(), abs<double>);
//error: Internal compiler error 980715.
}
--
Thomas O Matelich
Senior Programmer
Zetec, Inc.
tmatelich@zetec.com
tomsara@slip-stream.net
More information about the Gcc-bugs
mailing list