在C++11中,将null终止符放在C++11字符串中,然后在字符串的整个长度上迭代是否合法?
#include <string>
#include <iostream>
int main(int argc, char** argv) {
std::string s("
在C++11中,将null终止符放在C++11字符串中,然后在字符串的整个长度上迭代是否合法?
#include <string>
#include <iostream>
int main(int argc, char** argv) {
std::string s("