I have
#include<iostream>
#include<complex>
typedef std::complex<float> ComplexSingle;
int main(void)
{
ComplexSingle a(2,3);
std::cout<<a.real()<<std::endl;//this works
std::cout<<a.imag()<<std::endl;//this works
std::cout<<a;//this works w/ g++, not icc.
return 1;
}
I think this problem is compiler specific but if u guys can help,
please do. I have searched all over the net to no avail.
thanx