This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17056] [3.3/3.4/3.5 Regression] ambiguous function call problem
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2004 22:51:29 -0000
- Subject: [Bug c++/17056] [3.3/3.4/3.5 Regression] ambiguous function call problem
- References: <20040817023036.17056.emild@collectivestudios.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-08-18 22:51 -------
Of course removing either template leaves the code compilable: both
template functions are matches one way or other, so the code will
compile. The question is what happens when both are present: is the
call ambiguous as gcc thinks, or are there partial ordering rules that
make it not ambiguous, as other compilers may think.
I tend to believe the latter is the case, but lack the appropriate
partial-ordering-qualifications to judge for sure.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17056