摘要: 类模板几种常见的情况 类模板的定义我在上一篇博客模板小结中已经介绍过,大家还不懂的可以去看下。 1 #include<iostream> 2 using namespace std; 3 template<class T1,class T2> //模板类 4 class Person 5 { 6 p 阅读全文
posted @ 2020-12-03 21:28 stronger_zjf 阅读(390) 评论(0) 推荐(0) 编辑