[Bug c++/21413] bogus diagnostic from unidentified template

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Fri May 6 22:21:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list