摘要: //C++函数模板实例#include template void Swap(Any &a, Any &b);int main(){ using namespace std; double i = 10.123, j = 20.124; Swap(i, j); cout void Swap(Any & a, Any & b){ Any temp; temp = a; a = b; b = temp;} 阅读全文
posted @ 2013-07-22 19:01 夕相待 阅读(432) 评论(0) 推荐(0) 编辑