[Bug c++/30822] wrong choice of overloaded template functions in recursive call
Zarathustra at gentlemansclub dot de
gcc-bugzilla@gcc.gnu.org
Fri Feb 16 16:35:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list