I typed this into a template function, just to see if it would work:
if (T==int)
and the intellisense didn\'t complain. Is this valid C++? What
Is this what you're trying to do?
if(typeid(T) == typeid(int))
and this?
cout << typeid(int).name();