tmp/tmp3m415bbr/{from.md → to.md}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
### Kinds of literals <a id="lex.literal.kinds">[[lex.literal.kinds]]</a>
|
| 2 |
|
| 3 |
-
There are several kinds of literals.[^
|
| 4 |
|
| 5 |
``` bnf
|
| 6 |
literal:
|
| 7 |
integer-literal
|
| 8 |
character-literal
|
|
@@ -11,5 +11,8 @@ literal:
|
|
| 11 |
boolean-literal
|
| 12 |
pointer-literal
|
| 13 |
user-defined-literal
|
| 14 |
```
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
### Kinds of literals <a id="lex.literal.kinds">[[lex.literal.kinds]]</a>
|
| 2 |
|
| 3 |
+
There are several kinds of literals.[^8]
|
| 4 |
|
| 5 |
``` bnf
|
| 6 |
literal:
|
| 7 |
integer-literal
|
| 8 |
character-literal
|
|
|
|
| 11 |
boolean-literal
|
| 12 |
pointer-literal
|
| 13 |
user-defined-literal
|
| 14 |
```
|
| 15 |
|
| 16 |
+
[*Note 1*: When appearing as an *expression*, a literal has a type and
|
| 17 |
+
a value category [[expr.prim.literal]]. — *end note*]
|
| 18 |
+
|