From Jason Turner

[move.iter.op.conv]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp_8t_6yu4/{from.md → to.md} +12 -2
tmp/tmp_8t_6yu4/{from.md → to.md} RENAMED
@@ -1,8 +1,18 @@
1
- ##### `move_iterator` conversion <a id="move.iter.op.conv">[[move.iter.op.conv]]</a>
2
 
3
  ``` cpp
4
- constexpr Iterator base() const;
5
  ```
6
 
 
 
 
 
7
  *Returns:* `current`.
8
 
 
 
 
 
 
 
 
1
+ #### Conversion <a id="move.iter.op.conv">[[move.iter.op.conv]]</a>
2
 
3
  ``` cpp
4
+ constexpr Iterator base() const &;
5
  ```
6
 
7
+ *Constraints:* `Iterator` satisfies `copy_constructible`.
8
+
9
+ *Preconditions:* `Iterator` models `copy_constructible`.
10
+
11
  *Returns:* `current`.
12
 
13
+ ``` cpp
14
+ constexpr Iterator base() &&;
15
+ ```
16
+
17
+ *Returns:* `std::move(current)`.
18
+