[Bug c++/11752] partial ordering overloaded function templates
pinskia at physics dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Mon Aug 4 19:44:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11752
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-04 19:44 -------
ICC 6.0 in strict mode rejects this:
pr11752.cc(29): error: more than one instance of overloaded function "Rnd" matches the
argument list:
function template "Rnd<shift,size,T>(T)"
function template "Rnd<shift,size,FLT>(std::complex<FLT>)"
argument types are: (ComplexI)
ComplexI z = Rnd <6, 4> (x);
^
compilation aborted for pr11752.cc (code 2)
More information about the Gcc-bugs
mailing list