如果我想用以下行构造std :: string:
std::string my_string("a\0b");
我想在结果字符串中包含三个字符(a,null,b)时,我只能得到一个。正确的语法是什么?
相关分类