tmp/tmp44biy3qi/{from.md → to.md}
RENAMED
|
@@ -4,14 +4,14 @@ A class or pointer type `X` satisfies the requirements of an output
|
|
| 4 |
iterator if `X` satisfies the `Iterator` requirements (
|
| 5 |
[[iterator.iterators]]) and the expressions in Table
|
| 6 |
[[tab:iterator.output.requirements]] are valid and have the indicated
|
| 7 |
semantics.
|
| 8 |
|
| 9 |
-
The only valid use of an `operator*` is on the left side of
|
| 10 |
-
assignment statement. *Assignment through the same value of the
|
| 11 |
-
happens only once.* Algorithms on output iterators should never
|
| 12 |
-
to pass through the same iterator twice. They should be *single
|
| 13 |
-
algorithms. Equality and inequality might not be defined.
|
| 14 |
-
that take output iterators can be used with ostreams as the
|
| 15 |
-
for placing data through the `ostream_iterator` class as
|
| 16 |
-
insert iterators and insert pointers.
|
| 17 |
|
|
|
|
| 4 |
iterator if `X` satisfies the `Iterator` requirements (
|
| 5 |
[[iterator.iterators]]) and the expressions in Table
|
| 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. *Assignment through the same value of the
|
| 11 |
+
iterator happens only once.* Algorithms on output iterators should never
|
| 12 |
+
attempt to pass through the same iterator twice. They should be *single
|
| 13 |
+
pass* algorithms. Equality and inequality might not be defined.
|
| 14 |
+
Algorithms that take output iterators can be used with ostreams as the
|
| 15 |
+
destination for placing data through the `ostream_iterator` class as
|
| 16 |
+
well as with insert iterators and insert pointers. — *end note*]
|
| 17 |
|