tmp/tmpjneogc91/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Navigation <a id="common.iter.nav">[[common.iter.nav]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
common_iterator& operator++();
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Preconditions:* `holds_alternative<I>(v_)`.
|
| 8 |
+
|
| 9 |
+
*Effects:* Equivalent to `++get<I>(v_)`.
|
| 10 |
+
|
| 11 |
+
*Returns:* `*this`.
|
| 12 |
+
|
| 13 |
+
``` cpp
|
| 14 |
+
decltype(auto) operator++(int);
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
*Preconditions:* `holds_alternative<I>(v_)`.
|
| 18 |
+
|
| 19 |
+
*Effects:* If `I` models `forward_iterator`, equivalent to:
|
| 20 |
+
|
| 21 |
+
``` cpp
|
| 22 |
+
common_iterator tmp = *this;
|
| 23 |
+
++*this;
|
| 24 |
+
return tmp;
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
Otherwise, equivalent to: `return get<I>(v_)++;`
|
| 28 |
+
|