This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11752] partial ordering overloaded function templates
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2003 19:44:45 -0000
- Subject: [Bug c++/11752] partial ordering overloaded function templates
- References: <20030731184837.11752.nbecker@fred.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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)