------- Additional Comments From zhaojiangbin at yahoo dot com 2004-11-15 17:54 ------- (In reply to comment #0) > The code in question: > ==== begin ==== > struct C > { > template <typename T> void f() {} > }; > > template <typename T> void ff() > { > C c; > c.f(); // <-- > } > ==== end ====
Sorry there was a mistake in copying the sameple code. It should be: ==== begin ==== struct C { template <typename T> void f() {} }; template <typename T> void ff() { C c; c.f<T>(); // <-- } ==== end ==== Please note the difference in the marked lines. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18497