摘要: 使用C++的模板函数做展示输出 template <typename T> inline void displayVector(vector<T>& vec){ for(T v : vec)cout << v; cout << endl; } template <typename T, typena 阅读全文
posted @ 2020-10-31 23:51 园糯 阅读(1478) 评论(0) 推荐(0) 编辑