這是合法的C++ 11嗎?在C++ 11中,原始字符串文字是否可以有多行?
string s = R"(This is the first line
And this is the second line)";
...等價於:
string s = "This is the first line\nAnd this is the second line";
這是合法的C++ 11嗎?在C++ 11中,原始字符串文字是否可以有多行?
string s = R"(This is the first line
And this is the second line)";
...等價於:
string s = "This is the first line\nAnd this is the second line";
[!是](http://ideone.com/vjxpb3)它。 – P0W