摘要: 看 SO 上有一个比较奇怪的问题, When does an rvalue reference result in a move vs copy constructor and why? 问题代码: ClassX c = std::move(object_c); // Invokes move co 阅读全文
posted @ 2023-06-20 11:42 strive-sun 阅读(18) 评论(0) 推荐(0) 编辑