任鸟飞百尺竿头回合制安全课程
2023-01-10 13:16 作者:bili_1559000721 | 我要投稿
main 函数中,不使用 move 语义,会调用拷贝构造函数
intmain(intargc,char** argv){charvalue[] ="template";Strs(value);vector vs; vs.push_back(s);return0;}
main 函数中,不使用 move 语义,会调用拷贝构造函数
intmain(intargc,char** argv){charvalue[] ="template";Strs(value);vector vs; vs.push_back(s);return0;}