tmp/tmpedyfw6ww/{from.md → to.md}
RENAMED
|
@@ -1,17 +1,14 @@
|
|
| 1 |
-
### Output iterators <a id="output.iterators">[[output.iterators]]</a>
|
| 2 |
|
| 3 |
-
A class or pointer type `X`
|
| 4 |
-
|
| 5 |
-
[[
|
| 6 |
-
[[tab:iterator.output.requirements]] are valid and have the indicated
|
| 7 |
semantics.
|
| 8 |
|
| 9 |
[*Note 1*: The only valid use of an `operator*` is on the left side of
|
| 10 |
-
the assignment statement.
|
| 11 |
-
iterator happens only once.
|
| 12 |
-
attempt to pass through the same iterator twice. They should be
|
| 13 |
-
pass
|
| 14 |
-
|
| 15 |
-
destination for placing data through the `ostream_iterator` class as
|
| 16 |
-
well as with insert iterators and insert pointers. — *end note*]
|
| 17 |
|
|
|
|
| 1 |
+
#### Output iterators <a id="output.iterators">[[output.iterators]]</a>
|
| 2 |
|
| 3 |
+
A class or pointer type `X` meets the requirements of an output iterator
|
| 4 |
+
if `X` meets the *Cpp17Iterator* requirements [[iterator.iterators]] and
|
| 5 |
+
the expressions in [[outputiterator]] are valid and have the indicated
|
|
|
|
| 6 |
semantics.
|
| 7 |
|
| 8 |
[*Note 1*: The only valid use of an `operator*` is on the left side of
|
| 9 |
+
the assignment statement. Assignment through the same value of the
|
| 10 |
+
iterator happens only once. Algorithms on output iterators should never
|
| 11 |
+
attempt to pass through the same iterator twice. They should be
|
| 12 |
+
single-pass algorithms. Equality and inequality might not be
|
| 13 |
+
defined. — *end note*]
|
|
|
|
|
|
|
| 14 |
|