------- Comment #2 from paolo dot carlini at oracle dot com 2010-05-22 08:07 ------- Jason, can you have a look to the errors due to the ambiguous overloading pointed out by Benjamin? Happen for this type of copy initialization:
std::complex<value_type> z4 = {1.1, 2.2}; where value_type is either float, double or long double. I'm not at all sure we are supposed to accept that in C++0x... PS: as regards the patchlet to <complex> itself, I don't think is correct: in C++0x too, as in C++03, explicit applies only to the constructors taking a "wider" complex type to construct a "narrower" complex type, eg. constructing complex<double> from complex<long double> is explicit, from complex<float> is not. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41510