tmp/tmpvj7aa7qv/{from.md → to.md}
RENAMED
|
@@ -1,25 +1,30 @@
|
|
| 1 |
#### `istreambuf_iterator` constructors <a id="istreambuf.iterator.cons">[[istreambuf.iterator.cons]]</a>
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
``` cpp
|
| 4 |
constexpr istreambuf_iterator() noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
-
*Effects:*
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
-
istreambuf_iterator(
|
| 11 |
-
istreambuf_iterator(basic_streambuf<charT,traits>* s) noexcept;
|
| 12 |
```
|
| 13 |
|
| 14 |
-
*Effects:*
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
``` cpp
|
| 19 |
istreambuf_iterator(const proxy& p) noexcept;
|
| 20 |
```
|
| 21 |
|
| 22 |
-
*Effects:*
|
| 23 |
-
`basic_streambuf<>` object pointed to by the `proxy` object’s
|
| 24 |
-
constructor argument `p`.
|
| 25 |
|
|
|
|
| 1 |
#### `istreambuf_iterator` constructors <a id="istreambuf.iterator.cons">[[istreambuf.iterator.cons]]</a>
|
| 2 |
|
| 3 |
+
For each `istreambuf_iterator` constructor in this section, an
|
| 4 |
+
end-of-stream iterator is constructed if and only if the exposition-only
|
| 5 |
+
member `sbuf_` is initialized with a null pointer value.
|
| 6 |
+
|
| 7 |
``` cpp
|
| 8 |
constexpr istreambuf_iterator() noexcept;
|
| 9 |
```
|
| 10 |
|
| 11 |
+
*Effects:* Initializes `sbuf_` with `nullptr`.
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
+
istreambuf_iterator(istream_type& s) noexcept;
|
|
|
|
| 15 |
```
|
| 16 |
|
| 17 |
+
*Effects:* Initializes `sbuf_` with `s.rdbuf()`.
|
| 18 |
+
|
| 19 |
+
``` cpp
|
| 20 |
+
istreambuf_iterator(streambuf_type* s) noexcept;
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
*Effects:* Initializes `sbuf_` with `s`.
|
| 24 |
|
| 25 |
``` cpp
|
| 26 |
istreambuf_iterator(const proxy& p) noexcept;
|
| 27 |
```
|
| 28 |
|
| 29 |
+
*Effects:* Initializes `sbuf_` with `p.sbuf_`.
|
|
|
|
|
|
|
| 30 |
|