代码1
main 函数中,不使用 move 语义,会调用拷贝构造函数
intmain(intargc,char** argv){charvalue[] ="template";Strs(value);vector vs; vs.push_back(s);return0;}