tmp/tmpn737oykm/{from.md → to.md}
RENAMED
|
@@ -1,23 +0,0 @@
|
|
| 1 |
-
#### `ostrstream` constructors <a id="depr.ostrstream.cons">[[depr.ostrstream.cons]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
ostrstream();
|
| 5 |
-
```
|
| 6 |
-
|
| 7 |
-
*Effects:* Initializes the base class with `ostream(&sb)` and `sb` with
|
| 8 |
-
`strstreambuf()`.
|
| 9 |
-
|
| 10 |
-
``` cpp
|
| 11 |
-
ostrstream(char* s, int n, ios_base::openmode mode = ios_base::out);
|
| 12 |
-
```
|
| 13 |
-
|
| 14 |
-
*Effects:* Initializes the base class with `ostream(&sb)`, and `sb` with
|
| 15 |
-
one of 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))`.[^2]
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|