>>169
templateとかつかうと
template< class T > void foo( T v ) {
    T b;
} とか、できるでしょ?

そんでもって、
int a;
foo( a );
とかってやったらええやん。