C++移动构造函数以及move语句简单介绍

转自http://www.javashuo.com/article/p-wgwpsesw-ez.html 首先看一个小例子: #include <iostream> #include <cstring> #include <cstdlib> #include <vector> using namespace std; int main() { string st = "I love x
相关文章
相关标签/搜索