------- Comment #3 from yao_yin at 163 dot com 2010-03-24 10:56 ------- (In reply to comment #1) > That's not how it works.
but code followed works , class X; template<class T> void f(int x, T t) { f(t); } void f(X *k); void h() { X *a; f(1,a); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43506