摘要: 这是我的第一篇博客,也是有点小激动,记录下刚碰到的一个小问题。 我在写函数模板swap()想练习下template<class T>的使用;我的代码如下: #include <iostream>using namespace std;template<class T>void swap(T &a,T 阅读全文