>>462
template<typename T>
class hoge
{
public :
void foo(int i) {}
void foo(T t) ;
void bar(T t) ;
//......

} ;

とかでいいんじゃない?