From Jason Turner

[move.iter.nav]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpk9fnwiyu/{from.md → to.md} +72 -0
tmp/tmpk9fnwiyu/{from.md → to.md} RENAMED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Navigation <a id="move.iter.nav">[[move.iter.nav]]</a>
2
+
3
+ ``` cpp
4
+ constexpr move_iterator& operator++();
5
+ ```
6
+
7
+ *Effects:* As if by `++current`.
8
+
9
+ *Returns:* `*this`.
10
+
11
+ ``` cpp
12
+ constexpr auto operator++(int);
13
+ ```
14
+
15
+ *Effects:* If `Iterator` models `forward_iterator`, equivalent to:
16
+
17
+ ``` cpp
18
+ move_iterator tmp = *this;
19
+ ++current;
20
+ return tmp;
21
+ ```
22
+
23
+ Otherwise, equivalent to `++current`.
24
+
25
+ ``` cpp
26
+ constexpr move_iterator& operator--();
27
+ ```
28
+
29
+ *Effects:* As if by `current`.
30
+
31
+ *Returns:* `*this`.
32
+
33
+ ``` cpp
34
+ constexpr move_iterator operator--(int);
35
+ ```
36
+
37
+ *Effects:* As if by:
38
+
39
+ ``` cpp
40
+ move_iterator tmp = *this;
41
+ --current;
42
+ return tmp;
43
+ ```
44
+
45
+ ``` cpp
46
+ constexpr move_iterator operator+(difference_type n) const;
47
+ ```
48
+
49
+ *Returns:* `move_iterator(current + n)`.
50
+
51
+ ``` cpp
52
+ constexpr move_iterator& operator+=(difference_type n);
53
+ ```
54
+
55
+ *Effects:* As if by: `current += n;`
56
+
57
+ *Returns:* `*this`.
58
+
59
+ ``` cpp
60
+ constexpr move_iterator operator-(difference_type n) const;
61
+ ```
62
+
63
+ *Returns:* `move_iterator(current - n)`.
64
+
65
+ ``` cpp
66
+ constexpr move_iterator& operator-=(difference_type n);
67
+ ```
68
+
69
+ *Effects:* As if by: `current -= n;`
70
+
71
+ *Returns:* `*this`.
72
+