This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16053] Fails to identify overload
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jun 2004 19:28:25 -0000
- Subject: [Bug c++/16053] Fails to identify overload
- References: <20040618112043.16053.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-06-19 19:28 -------
icc 8, on the other hand accepts it. Initially, I had thought that in
both cases of my example in comment #3 the compiler has to match
exactly one template argument. In that case, an ambiguity would have
been unavoidable. In fact, however, it has to match two template
arguments for the friend function, and one for the non-friend. That's
a case where partial ordering comes into play.
I am not sure any more whether my analysis of my testcase is correct,
and would like to solicit other opinions.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |gdr at gcc dot gnu dot org,
| |nathan at gcc dot gnu dot
| |org
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16053