Skip to content

Instantly share code, notes, and snippets.

@PaulChana
Created August 8, 2017 09:09
Show Gist options
  • Save PaulChana/5ece93860e9b971a280c0eb5e3e84a6d to your computer and use it in GitHub Desktop.
Save PaulChana/5ece93860e9b971a280c0eb5e3e84a6d to your computer and use it in GitHub Desktop.
String literal in C++
const auto myString = R"identifier(
This string wont be "processed" like a normal string
Line breaks will be preserved
And you wont need to do escapes...
)identifier";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment