tmp/tmpjvhhnyut/{from.md → to.md}
RENAMED
|
@@ -34,11 +34,11 @@ namespace std {
|
|
| 34 |
ostream_iterator<T,charT,traits>& operator*();
|
| 35 |
ostream_iterator<T,charT,traits>& operator++();
|
| 36 |
ostream_iterator<T,charT,traits>& operator++(int);
|
| 37 |
private:
|
| 38 |
basic_ostream<charT,traits>* out_stream; // exposition only
|
| 39 |
-
const charT* delim; // exposition
|
| 40 |
};
|
| 41 |
}
|
| 42 |
```
|
| 43 |
|
| 44 |
#### `ostream_iterator` constructors and destructor <a id="ostream.iterator.cons.des">[[ostream.iterator.cons.des]]</a>
|
|
@@ -78,11 +78,11 @@ ostream_iterator& operator=(const T& value);
|
|
| 78 |
|
| 79 |
``` cpp
|
| 80 |
*out_stream << value;
|
| 81 |
if (delim != 0)
|
| 82 |
*out_stream << delim;
|
| 83 |
-
return
|
| 84 |
```
|
| 85 |
|
| 86 |
``` cpp
|
| 87 |
ostream_iterator& operator*();
|
| 88 |
```
|
|
|
|
| 34 |
ostream_iterator<T,charT,traits>& operator*();
|
| 35 |
ostream_iterator<T,charT,traits>& operator++();
|
| 36 |
ostream_iterator<T,charT,traits>& operator++(int);
|
| 37 |
private:
|
| 38 |
basic_ostream<charT,traits>* out_stream; // exposition only
|
| 39 |
+
const charT* delim; // exposition only
|
| 40 |
};
|
| 41 |
}
|
| 42 |
```
|
| 43 |
|
| 44 |
#### `ostream_iterator` constructors and destructor <a id="ostream.iterator.cons.des">[[ostream.iterator.cons.des]]</a>
|
|
|
|
| 78 |
|
| 79 |
``` cpp
|
| 80 |
*out_stream << value;
|
| 81 |
if (delim != 0)
|
| 82 |
*out_stream << delim;
|
| 83 |
+
return *this;
|
| 84 |
```
|
| 85 |
|
| 86 |
``` cpp
|
| 87 |
ostream_iterator& operator*();
|
| 88 |
```
|