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++/17056] [3.3/3.4/3.5 Regression] ambiguous function call problem


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


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