摘要: 1 #include <iostream> 2 using namespace std; 3 template<class T> 4 void swapData(T& a, T& b) 5 { 6 T t = a; 7 a = b; 8 b = t; 9 } 10 11 template<class 阅读全文
posted @ 2023-05-15 20:28 Code13 阅读(54) 评论(0) 推荐(0) 编辑