tmp/tmpagcvz5_b/{from.md → to.md}
RENAMED
|
@@ -1,23 +0,0 @@
|
|
| 1 |
-
#### `strstream` constructors <a id="depr.strstream.cons">[[depr.strstream.cons]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
strstream();
|
| 5 |
-
```
|
| 6 |
-
|
| 7 |
-
*Effects:* Initializes the base class with `iostream(&sb)`.
|
| 8 |
-
|
| 9 |
-
``` cpp
|
| 10 |
-
strstream(char* s, int n,
|
| 11 |
-
ios_base::openmode mode = ios_base::in|ios_base::out);
|
| 12 |
-
```
|
| 13 |
-
|
| 14 |
-
*Effects:* Initializes the base class with `iostream(&sb)`, and `sb`
|
| 15 |
-
with one of the two constructors:
|
| 16 |
-
|
| 17 |
-
- If `(mode & app) == 0`, then `s` shall designate the first element of
|
| 18 |
-
an array of `n` elements. The constructor is `strstreambuf(s,n,s)`.
|
| 19 |
-
- If `(mode & app) != 0`, then `s` shall designate the first element of
|
| 20 |
-
an array of `n` elements that contains an NTBS whose first element is
|
| 21 |
-
designated by `s`. The constructor is
|
| 22 |
-
`strstreambuf(s,n,s + std::strlen(s))`.
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|