std::string strings("fjsdlkfjlsdkjfl"); strings += '\0'; strings += "fdsfjdsljfl";
int len = 0;
std::string tmp = strings;
len = tmp.size();
//此时len != strings.size();