摘要:
#include <iostream> template<class typeName> class Person { public: Person(typeName name); void show(); protected: typeName m_name; }; template<class 阅读全文
摘要:
#include <iostream> #include <typeinfo> template<class typeName> class Person { public: Person() { std::cout << "typeName数据类型 " << typeid(typeName).na 阅读全文