This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21413] bogus diagnostic from unidentified template
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2005 22:21:43 -0000
- Subject: [Bug c++/21413] bogus diagnostic from unidentified template
- References: <20050506101655.21413.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2005-05-06 22:21 -------
I think that's a good question. We've had this before in some other PR. The
problem is that because the template parameter is explicitly specialized,
rather than deduced, SFINAE doesn't apply and the compiler can't silently
remove the second template from the overload list to choose the first. I
don't remember how this was resolved...
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21413