tmp/tmpftlg2eih/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Customizations <a id="counted.iter.cust">[[counted.iter.cust]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
friend constexpr iter_rvalue_reference_t<I>
|
| 5 |
+
iter_move(const counted_iterator& i)
|
| 6 |
+
noexcept(noexcept(ranges::iter_move(i.current)))
|
| 7 |
+
requires input_iterator<I>;
|
| 8 |
+
```
|
| 9 |
+
|
| 10 |
+
*Effects:* Equivalent to: `return ranges::iter_move(i.current);`
|
| 11 |
+
|
| 12 |
+
``` cpp
|
| 13 |
+
template<indirectly_swappable<I> I2>
|
| 14 |
+
friend constexpr void
|
| 15 |
+
iter_swap(const counted_iterator& x, const counted_iterator<I2>& y)
|
| 16 |
+
noexcept(noexcept(ranges::iter_swap(x.current, y.current)));
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
*Effects:* Equivalent to `ranges::iter_swap(x.current, y.current)`.
|
| 20 |
+
|