X
XHengDF
#include "iostream"
struct C {
template <typename T> void foo(){}
};
int main()
{
std::cout << typeid( (&C::foo<int>) ).name() << std::endl;
}
output: int
anybody could tell me WHY?
thanks!
struct C {
template <typename T> void foo(){}
};
int main()
{
std::cout << typeid( (&C::foo<int>) ).name() << std::endl;
}
output: int
anybody could tell me WHY?
thanks!