摘要: 使用类模板简单实现STL Vector #include <iostream> using namespace std; template<typename T> class MyVector { public: //构造函数 MyVector<T>(int size = 10) { T * _te 阅读全文
posted @ 2022-11-19 17:40 Hello_Bugs 阅读(64) 评论(0) 推荐(0) 编辑