tmp/tmp_tpaykcd/{from.md → to.md}
RENAMED
|
@@ -1,25 +1,25 @@
|
|
| 1 |
##### `move_iterator` constructors <a id="move.iter.op.const">[[move.iter.op.const]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
move_iterator();
|
| 5 |
```
|
| 6 |
|
| 7 |
-
*Effects:* Constructs a `move_iterator`, value
|
| 8 |
Iterator operations applied to the resulting iterator have defined
|
| 9 |
behavior if and only if the corresponding operations are defined on a
|
| 10 |
value-initialized iterator of type `Iterator`.
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
-
explicit move_iterator(Iterator i);
|
| 14 |
```
|
| 15 |
|
| 16 |
*Effects:* Constructs a `move_iterator`, initializing `current` with
|
| 17 |
`i`.
|
| 18 |
|
| 19 |
``` cpp
|
| 20 |
-
template <class U> move_iterator(const move_iterator<U>& u);
|
| 21 |
```
|
| 22 |
|
| 23 |
*Effects:* Constructs a `move_iterator`, initializing `current` with
|
| 24 |
`u.base()`.
|
| 25 |
|
|
|
|
| 1 |
##### `move_iterator` constructors <a id="move.iter.op.const">[[move.iter.op.const]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
constexpr move_iterator();
|
| 5 |
```
|
| 6 |
|
| 7 |
+
*Effects:* Constructs a `move_iterator`, value-initializing `current`.
|
| 8 |
Iterator operations applied to the resulting iterator have defined
|
| 9 |
behavior if and only if the corresponding operations are defined on a
|
| 10 |
value-initialized iterator of type `Iterator`.
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
+
constexpr explicit move_iterator(Iterator i);
|
| 14 |
```
|
| 15 |
|
| 16 |
*Effects:* Constructs a `move_iterator`, initializing `current` with
|
| 17 |
`i`.
|
| 18 |
|
| 19 |
``` cpp
|
| 20 |
+
template <class U> constexpr move_iterator(const move_iterator<U>& u);
|
| 21 |
```
|
| 22 |
|
| 23 |
*Effects:* Constructs a `move_iterator`, initializing `current` with
|
| 24 |
`u.base()`.
|
| 25 |
|