Logo

Programming-Idioms

History of Idiom 48 > diff from v60 to v61

Edit summary for version 61 by programming-idioms.org:
[D] Varaible name s

Version 60

2019-09-29, 01:29:35

Version 61

2019-11-30, 20:28:39

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
Code
auto str = "One,
Two,
Three
";
Code
auto s = "One,
Two,
Three
";
Comments bubble
line endings and whites are included in the string
Comments bubble
Line endings and whites are included in the string