头文件mytemplate.h:
源文件TestTemplate.cpp
运行结果:
int
14
23.1
56
Name: jack
Age: 20
class Person<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int>
0 1 2 3 4 5 6 7 8 9
头文件mytemplate.h:
源文件TestTemplate.cpp
运行结果:
int
14
23.1
56
Name: jack
Age: 20
class Person<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int>
0 1 2 3 4 5 6 7 8 9