摘要: 引用最大的价值是避免复制 #include <iostream> using namespace std; void method2(int& param) { param = param + 1; cout << "method2 inner:" << param << endl; //metho 阅读全文
posted @ 2023-09-21 13:02 AngDH 阅读(6) 评论(0) 推荐(0) 编辑