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