tmp/tmpgr68h8sk/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Element access <a id="counted.iter.elem">[[counted.iter.elem]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
constexpr decltype(auto) operator*();
|
| 5 |
+
constexpr decltype(auto) operator*() const
|
| 6 |
+
requires dereferenceable<const I>;
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
*Effects:* Equivalent to: `return *current;`
|
| 10 |
+
|
| 11 |
+
``` cpp
|
| 12 |
+
constexpr decltype(auto) operator[](iter_difference_t<I> n) const
|
| 13 |
+
requires random_access_iterator<I>;
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
*Preconditions:* `n < length`.
|
| 17 |
+
|
| 18 |
+
*Effects:* Equivalent to: `return current[n];`
|
| 19 |
+
|