2023年6月9日

移动语义的简单示例

摘要: 下面是一个使用移动语义的简单示例: ```cpp #include #include class MyString { public: MyString() : m_data(nullptr), m_size(0) {} MyString(const char* str) : MyString() 阅读全文

posted @ 2023-06-09 08:40 jobgeo 阅读(10) 评论(1) 推荐(0) 编辑

导航