tmp/tmp9mkul0eu/{from.md → to.md}
RENAMED
|
@@ -68,33 +68,37 @@ constexpr void advance_to(const_iterator it);
|
|
| 68 |
|
| 69 |
``` cpp
|
| 70 |
constexpr size_t next_arg_id();
|
| 71 |
```
|
| 72 |
|
| 73 |
-
*Effects:* If `indexing_ != manual`, equivalent to:
|
| 74 |
|
| 75 |
``` cpp
|
| 76 |
if (indexing_ == unknown)
|
| 77 |
indexing_ = automatic;
|
| 78 |
return next_arg_id_++;
|
| 79 |
```
|
| 80 |
|
| 81 |
-
*Throws:* `format_error` if `indexing_ == manual`
|
| 82 |
-
of automatic and manual argument indexing.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
|
| 84 |
``` cpp
|
| 85 |
constexpr void check_arg_id(size_t id);
|
| 86 |
```
|
| 87 |
|
| 88 |
-
*Effects:* If `indexing_ != automatic`, equivalent to:
|
| 89 |
|
| 90 |
``` cpp
|
| 91 |
if (indexing_ == unknown)
|
| 92 |
indexing_ = manual;
|
| 93 |
```
|
| 94 |
|
| 95 |
-
*Throws:* `format_error` if `indexing_ == automatic`
|
| 96 |
-
mixing of automatic and manual argument indexing.
|
| 97 |
|
| 98 |
-
*Remarks:* Call expressions where `id >= num_args_` are not
|
| 99 |
-
constant expressions [[expr.const]].
|
| 100 |
|
|
|
|
| 68 |
|
| 69 |
``` cpp
|
| 70 |
constexpr size_t next_arg_id();
|
| 71 |
```
|
| 72 |
|
| 73 |
+
*Effects:* If `indexing_ != manual` is `true`, equivalent to:
|
| 74 |
|
| 75 |
``` cpp
|
| 76 |
if (indexing_ == unknown)
|
| 77 |
indexing_ = automatic;
|
| 78 |
return next_arg_id_++;
|
| 79 |
```
|
| 80 |
|
| 81 |
+
*Throws:* `format_error` if `indexing_ == manual` is `true` which
|
| 82 |
+
indicates mixing of automatic and manual argument indexing.
|
| 83 |
+
|
| 84 |
+
*Remarks:* Let *`cur-arg-id`* be the value of `next_arg_id_` prior to
|
| 85 |
+
this call. Call expressions where *`cur-arg-id`*` >= num_args_` is
|
| 86 |
+
`true` are not core constant expressions [[expr.const]].
|
| 87 |
|
| 88 |
``` cpp
|
| 89 |
constexpr void check_arg_id(size_t id);
|
| 90 |
```
|
| 91 |
|
| 92 |
+
*Effects:* If `indexing_ != automatic` is `true`, equivalent to:
|
| 93 |
|
| 94 |
``` cpp
|
| 95 |
if (indexing_ == unknown)
|
| 96 |
indexing_ = manual;
|
| 97 |
```
|
| 98 |
|
| 99 |
+
*Throws:* `format_error` if `indexing_ == automatic` is `true` which
|
| 100 |
+
indicates mixing of automatic and manual argument indexing.
|
| 101 |
|
| 102 |
+
*Remarks:* Call expressions where `id >= num_args_` is `true` are not
|
| 103 |
+
core constant expressions [[expr.const]].
|
| 104 |
|