摘要: 类模板=>实例化=>模板类 通过类模板实现栈,点击查看代码 #include <iostream> #include <cstring> using namespace std; template<typename T> //template<typename T=int> 也可以这样写,写个默认类 阅读全文
posted @ 2022-11-16 16:13 Hello_Bugs 阅读(67) 评论(0) 推荐(0) 编辑