2010-09-14から1日間の記事一覧
この間リナカフェでも話したお話なんですが #include <iostream> using namespace std; template<class T> struct id{ typedef T type; }; template<class T> void f(T t){ cout << "ue" << endl; } template<class T> void f(id<T>::type t){ cout << "shita" << endl; } int main() { f<int>(0); return </int></t></class></class></class></iostream>…