template <class T1> template <class T2> void CHoge<T1>::template f2() { ... }