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++/30822] wrong choice of overloaded template functions in recursive call



------- Comment #2 from Zarathustra at gentlemansclub dot de  2007-02-16 16:35 -------
I know the rules for template function name lookup are complicated, and I do
not claim that I understand them completely. But I am pretty sure that the
order of the definitions should not matter. There is a partial ordering of
template functions to decide which function is used. This ordering depends on
which function is "more specialized" than the other, but not the sequence of
the definitions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30822


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