------- Comment #1 from jason at gcc dot gnu dot org 2009-11-05 22:11 ------- I agree: before we can do ADL we need to know that f is a template name, so we need another declaration of f to be found by unqualified lookup, i.e. something like
template <class T> void f(T,T); It is correct to do ADL once we do that, though: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#561 -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-11-05 22:11:24 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40177