Created
August 8, 2017 09:09
-
-
Save PaulChana/5ece93860e9b971a280c0eb5e3e84a6d to your computer and use it in GitHub Desktop.
String literal in C++
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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