Logo

Programming-Idioms

History of Idiom 48 > diff from v50 to v51

Edit summary for version 51 by programming-idioms.org:
[Cpp] Spelling Jupiter

Version 50

2019-09-06, 11:11:50

Version 51

2019-09-08, 14:55:58

Idiom #48 Multi-line string literal

Assign to variable s a string literal consisting in several lines of text

Idiom #48 Multi-line string literal

Assign to variable s a string literal consisting in several lines of text

Extra Keywords
multiline raw
Extra Keywords
multiline raw
Imports
#include <string>
Imports
#include <string>
Code
  std::string multiline = R"( Earth is a planet.
So is the Jupyter)";
Code
std::string multiline = R"( Earth is a planet.
So is the Jupiter)";
Comments bubble
Use raw string literals
Comments bubble
Use raw string literals