This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]