tmp/tmpn6hsb41z/{from.md → to.md}
RENAMED
|
@@ -1,41 +1,27 @@
|
|
| 1 |
## Keywords <a id="lex.key">[[lex.key]]</a>
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
| `alignas` | `continue` | `friend` | `register` | `true` |
|
| 12 |
-
| `alignof` | `decltype` | `goto` | `reinterpret_cast` | `try` |
|
| 13 |
-
| `asm` | `default` | `if` | `return` | `typedef` |
|
| 14 |
-
| `auto` | `delete` | `inline` | `short` | `typeid` |
|
| 15 |
-
| `bool` | `do` | `int` | `signed` | `typename` |
|
| 16 |
-
| `break` | `double` | `long` | `sizeof` | `union` |
|
| 17 |
-
| `case` | `dynamic_cast` | `mutable` | `static` | `unsigned` |
|
| 18 |
-
| `catch` | `else` | `namespace` | `static_assert` | `using` |
|
| 19 |
-
| `char` | `enum` | `new` | `static_cast` | `virtual` |
|
| 20 |
-
| `char16_t` | `explicit` | `noexcept` | `struct` | `void` |
|
| 21 |
-
| `char32_t` | `export` | `nullptr` | `switch` | `volatile` |
|
| 22 |
-
| `class` | `extern` | `operator` | `template` | `wchar_t` |
|
| 23 |
-
| `const` | `false` | `private` | `this` | `while` |
|
| 24 |
-
| `constexpr` | `float` | `protected` | `thread_local` | |
|
| 25 |
-
| `const_cast` | `for` | `public` | `throw` | |
|
| 26 |
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
-
|
| 29 |
-
reserved for future use. — *end note*]
|
| 30 |
-
|
| 31 |
-
Furthermore, the alternative representations shown in Table
|
| 32 |
-
[[tab:alternative.representations]] for certain operators and
|
| 33 |
-
punctuators ([[lex.digraph]]) are reserved and shall not be used
|
| 34 |
-
otherwise:
|
| 35 |
-
|
| 36 |
-
**Table: Alternative representations** <a id="tab:alternative.representations">[tab:alternative.representations]</a>
|
| 37 |
|
| 38 |
| | | | | | |
|
| 39 |
| -------- | -------- | -------- | ------- | -------- | ----- |
|
| 40 |
| `and` | `and_eq` | `bitand` | `bitor` | `compl` | `not` |
|
| 41 |
| `not_eq` | `or` | `or_eq` | `xor` | `xor_eq` | |
|
|
|
|
| 1 |
## Keywords <a id="lex.key">[[lex.key]]</a>
|
| 2 |
|
| 3 |
+
``` bnf
|
| 4 |
+
keyword:
|
| 5 |
+
any identifier listed in [[lex.key]]
|
| 6 |
+
*import-keyword*
|
| 7 |
+
*module-keyword*
|
| 8 |
+
*export-keyword*
|
| 9 |
+
```
|
| 10 |
|
| 11 |
+
The identifiers shown in [[lex.key]] are reserved for use as keywords
|
| 12 |
+
(that is, they are unconditionally treated as keywords in phase 7)
|
| 13 |
+
except in an *attribute-token* [[dcl.attr.grammar]].
|
| 14 |
|
| 15 |
+
[*Note 1*: The `register` keyword is unused but is reserved for future
|
| 16 |
+
use. — *end note*]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
+
Furthermore, the alternative representations shown in
|
| 19 |
+
[[lex.key.digraph]] for certain operators and punctuators
|
| 20 |
+
[[lex.digraph]] are reserved and shall not be used otherwise.
|
| 21 |
|
| 22 |
+
**Table: Alternative representations** <a id="lex.key.digraph">[lex.key.digraph]</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
| | | | | | |
|
| 25 |
| -------- | -------- | -------- | ------- | -------- | ----- |
|
| 26 |
| `and` | `and_eq` | `bitand` | `bitor` | `compl` | `not` |
|
| 27 |
| `not_eq` | `or` | `or_eq` | `xor` | `xor_eq` | |
|