摘要: struct Test { Test(){cout << "默认\n";} Test(Test &&) {cout << "移动\n"; }; Test & operator=(Test &&) {cout << "赋值\n"; return *this;} }; Test func() { ret 阅读全文
posted @ 2022-06-08 16:40 hellozhangjz 阅读(26) 评论(0) 推荐(0) 编辑