摘要: 1 // 变长参数传递与两个函数之间 2 template <class... Args> 3 void myTest(Args... args) { 4 printf("%d,%d,%d,%d", args...); 5 } 6 int main() { 7 myTest(1, 2, 3, 4); 阅读全文
posted @ 2021-04-17 13:38 zhang_jim 阅读(57) 评论(0) 推荐(0)