In C ++ 11, you can do this. See my answer to a similar question .
For this you need Objective-C ++ 11 in your case. It should work, although in gcc.
const char * html = R"HTML( <HTML> <HEAD> <TITLE> [Python-Dev] Triple-quoted strings and indentation </TITLE> </HEAD> <BODY BGCOLOR="#ffffff"> blah blah blah </BODY> </HTML> )HTML"; int main() { }
g ++ -std = C ++ 0x -o raw_string raw_string.mm is at least compiled.
source share