foo(string & str){}
调用:
foo(string("hi"));//正确
string 作为函数实参
最新推荐文章于 2024-06-04 19:12:55 发布
foo(string & str){}
调用:
foo(string("hi"));//正确