[Bug c++/17056] [3.3/3.4/3.5 Regression] ambiguous function call problem

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 18 22:51:00 GMT 2004


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



More information about the Gcc-bugs mailing list