tmp/tmp2vf6d0ue/{from.md → to.md}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
### Character arrays <a id="dcl.init.string">[[dcl.init.string]]</a>
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
characters of the value of the string literal initialize the
|
| 9 |
-
the array.
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
char msg[] = "Syntax error on line %s\n";
|
| 13 |
```
|
| 14 |
|
|
|
|
| 1 |
### Character arrays <a id="dcl.init.string">[[dcl.init.string]]</a>
|
| 2 |
|
| 3 |
+
An array of narrow character type ([[basic.fundamental]]), `char16_t`
|
| 4 |
+
array, `char32_t` array, or `wchar_t` array can be initialized by a
|
| 5 |
+
narrow string literal, `char16_t` string literal, `char32_t` string
|
| 6 |
+
literal, or wide string literal, respectively, or by an
|
| 7 |
+
appropriately-typed string literal enclosed in braces ([[lex.string]]).
|
| 8 |
+
Successive characters of the value of the string literal initialize the
|
| 9 |
+
elements of the array.
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
char msg[] = "Syntax error on line %s\n";
|
| 13 |
```
|
| 14 |
|