tmp/tmponv3pjfe/{from.md → to.md}
RENAMED
|
@@ -2,21 +2,19 @@
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
strstream();
|
| 5 |
```
|
| 6 |
|
| 7 |
-
*Effects:*
|
| 8 |
-
base class with `iostream(&sb)`.
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
strstream(char* s, int n,
|
| 12 |
ios_base::openmode mode = ios_base::in|ios_base::out);
|
| 13 |
```
|
| 14 |
|
| 15 |
-
*Effects:*
|
| 16 |
-
|
| 17 |
-
two constructors:
|
| 18 |
|
| 19 |
- If `(mode & app) == 0`, then `s` shall designate the first element of
|
| 20 |
an array of `n` elements. The constructor is `strstreambuf(s,n,s)`.
|
| 21 |
- If `(mode & app) != 0`, then `s` shall designate the first element of
|
| 22 |
an array of `n` elements that contains an NTBS whose first element is
|
|
|
|
| 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
|