tmp/tmp48i6qnae/{from.md → to.md}
RENAMED
|
@@ -1,15 +1,16 @@
|
|
| 1 |
## Keywords <a id="gram.key">[[gram.key]]</a>
|
| 2 |
|
| 3 |
New context-dependent keywords are introduced into a program by
|
| 4 |
-
`typedef`
|
| 5 |
-
|
| 6 |
-
|
| 7 |
|
| 8 |
``` bnf
|
| 9 |
typedef-name:
|
| 10 |
identifier
|
|
|
|
| 11 |
```
|
| 12 |
|
| 13 |
``` bnf
|
| 14 |
namespace-name:
|
| 15 |
identifier
|
|
@@ -33,17 +34,13 @@ enum-name:
|
|
| 33 |
``` bnf
|
| 34 |
template-name:
|
| 35 |
identifier
|
| 36 |
```
|
| 37 |
|
| 38 |
-
Note that a *typedef-name* naming a class is also a *class-name* (
|
| 39 |
-
[[class.name]]).
|
| 40 |
-
|
| 41 |
<!-- Link reference definitions -->
|
| 42 |
[class]: class.md#class
|
| 43 |
[class.member.lookup]: class.md#class.member.lookup
|
| 44 |
-
[class.name]: class.md#class.name
|
| 45 |
[dcl.enum]: dcl.md#dcl.enum
|
| 46 |
[dcl.spec]: dcl.md#dcl.spec
|
| 47 |
[dcl.typedef]: dcl.md#dcl.typedef
|
| 48 |
[gram]: #gram
|
| 49 |
[gram.key]: #gram.key
|
|
|
|
| 1 |
## Keywords <a id="gram.key">[[gram.key]]</a>
|
| 2 |
|
| 3 |
New context-dependent keywords are introduced into a program by
|
| 4 |
+
`typedef` [[dcl.typedef]], `namespace` [[namespace.def]], class
|
| 5 |
+
[[class]], enumeration [[dcl.enum]], and `template` [[temp]]
|
| 6 |
+
declarations.
|
| 7 |
|
| 8 |
``` bnf
|
| 9 |
typedef-name:
|
| 10 |
identifier
|
| 11 |
+
simple-template-id
|
| 12 |
```
|
| 13 |
|
| 14 |
``` bnf
|
| 15 |
namespace-name:
|
| 16 |
identifier
|
|
|
|
| 34 |
``` bnf
|
| 35 |
template-name:
|
| 36 |
identifier
|
| 37 |
```
|
| 38 |
|
|
|
|
|
|
|
|
|
|
| 39 |
<!-- Link reference definitions -->
|
| 40 |
[class]: class.md#class
|
| 41 |
[class.member.lookup]: class.md#class.member.lookup
|
|
|
|
| 42 |
[dcl.enum]: dcl.md#dcl.enum
|
| 43 |
[dcl.spec]: dcl.md#dcl.spec
|
| 44 |
[dcl.typedef]: dcl.md#dcl.typedef
|
| 45 |
[gram]: #gram
|
| 46 |
[gram.key]: #gram.key
|