I discovered and started using R strings. They are to C++ what the Python ‘r’ literal strings are, in that they let you write regular expressions and things like paths without having to escape or double-escape. I also found out that CMAKE also uses R strings, but call it double-bracketing, again a necessity when building strings that may have to have escape characters which end up conflicting with what you are trying to accomplish.
Example to embed a text file with all the quotes suddenly gets really easy:
std::string text = R"({"array":["one","two","three"],"boolean":true,"null":null,"number":123,"float":543.678,"string":"Hello Json"})";
…which is very clipboard unfriendly, all those backslashes are ugly. Yes I know you can unixify them, but they are still ugly. Yes you need to be using a modern compiler, and I love R Strings.