tmp/tmphn4b00ru/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### `ranges::next` <a id="range.iter.op.next">[[range.iter.op.next]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
template<input_or_output_iterator I>
|
| 5 |
+
constexpr I ranges::next(I x);
|
| 6 |
+
```
|
| 7 |
+
|
| 8 |
+
*Effects:* Equivalent to: `++x; return x;`
|
| 9 |
+
|
| 10 |
+
``` cpp
|
| 11 |
+
template<input_or_output_iterator I>
|
| 12 |
+
constexpr I ranges::next(I x, iter_difference_t<I> n);
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
*Effects:* Equivalent to: `ranges::advance(x, n); return x;`
|
| 16 |
+
|
| 17 |
+
``` cpp
|
| 18 |
+
template<input_or_output_iterator I, sentinel_for<I> S>
|
| 19 |
+
constexpr I ranges::next(I x, S bound);
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
*Effects:* Equivalent to: `ranges::advance(x, bound); return x;`
|
| 23 |
+
|
| 24 |
+
``` cpp
|
| 25 |
+
template<input_or_output_iterator I, sentinel_for<I> S>
|
| 26 |
+
constexpr I ranges::next(I x, iter_difference_t<I> n, S bound);
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
*Effects:* Equivalent to: `ranges::advance(x, n, bound); return x;`
|
| 30 |
+
|