[Bug c++/54987] missed ambiguity in template function call
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54987 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |4.9.0 --- Comment #4 from Paolo Carlini --- Done.
[Bug c++/54987] missed ambiguity in template function call
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54987 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Mar 25 17:14:40 2015 New Revision: 221668 URL: https://gcc.gnu.org/viewcvs?rev=221668&root=gcc&view=rev Log: 2015-03-25 Paolo Carlini PR c++/54987 * g++.dg/template/pr54987.C: New. Added: trunk/gcc/testsuite/g++.dg/template/pr54987.C Modified: trunk/gcc/testsuite/ChangeLog
[Bug c++/54987] missed ambiguity in template function call
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54987 Paolo Carlini changed: What|Removed |Added CC|afalin at xakep dot ru | Known to work||4.9.0, 5.0 --- Comment #2 from Paolo Carlini --- 4.9.0 correctly rejects this, I'm adding the testcase and closing the bug.
[Bug c++/54987] missed ambiguity in template function call
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54987 --- Comment #1 from Andrew Pinski 2012-10-19 18:46:26 UTC --- Comeau C/C++ 4.3.10.1 (Oct 6 2008 11:28:09) for ONLINE_EVALUATION_BETA2 Copyright 1988-2008 Comeau Computing. All rights reserved. MODE:strict errors C++ C++0x_extensions "ComeauTest.c", line 47: error: more than one instance of overloaded function "foo" matches the argument list, the choices that match are: function template "void foo(T, Template1::type>)" function template "void foo(T, Template2::type>)" The argument types that you used are: (Argument1, Template1) foo( a, t ); ^