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