摘要:
#include <iostream> template<class typeName> class Person { public: Person(typeName name); void show(); protected: typeName m_name; }; template<class 阅读全文
posted @ 2022-07-21 08:19
thomas_blog
阅读(40)
评论(0)
推荐(0)
摘要:
#include <iostream> #include <typeinfo> template<class typeName> class Person { public: Person() { std::cout << "typeName数据类型 " << typeid(typeName).na 阅读全文
posted @ 2022-07-21 07:53
thomas_blog
阅读(34)
评论(0)
推荐(0)

浙公网安备 33010602011771号