In my template-ized function, I\'m trying to check the type T is of a specific type. How would I do that?
p/s I knew the template specification way but I don\'t want
If you don't care about compile-time, you may use boost::is_same.
bool isString = boost::is_same::value;
As of C++11, this is now part of the standard library
bool isString = std::is_same::value