This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11752] partial ordering overloaded function templates


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]