tmp/tmp37s_ixk8/{from.md → to.md}
RENAMED
|
@@ -22,19 +22,19 @@ namespace std {
|
|
| 22 |
void freeze(bool freezefl = true);
|
| 23 |
int pcount() const;
|
| 24 |
char* str();
|
| 25 |
|
| 26 |
private:
|
| 27 |
-
strstreambuf sb; // exposition
|
| 28 |
};
|
| 29 |
}
|
| 30 |
```
|
| 31 |
|
| 32 |
-
The class `strstream` supports reading and writing from objects of
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
|
| 37 |
- `sb`, the `strstreambuf` object.
|
| 38 |
|
| 39 |
#### `strstream` constructors <a id="depr.strstream.cons">[[depr.strstream.cons]]</a>
|
| 40 |
|
|
@@ -62,11 +62,11 @@ two constructors:
|
|
| 62 |
`strstreambuf(s,n,s + std::strlen(s))`.
|
| 63 |
|
| 64 |
#### `strstream` destructor <a id="depr.strstream.dest">[[depr.strstream.dest]]</a>
|
| 65 |
|
| 66 |
``` cpp
|
| 67 |
-
virtual ~strstream()
|
| 68 |
```
|
| 69 |
|
| 70 |
*Effects:* Destroys an object of class `strstream`.
|
| 71 |
|
| 72 |
``` cpp
|
|
|
|
| 22 |
void freeze(bool freezefl = true);
|
| 23 |
int pcount() const;
|
| 24 |
char* str();
|
| 25 |
|
| 26 |
private:
|
| 27 |
+
strstreambuf sb; // exposition only
|
| 28 |
};
|
| 29 |
}
|
| 30 |
```
|
| 31 |
|
| 32 |
+
The class `strstream` supports reading and writing from objects of class
|
| 33 |
+
`strstreambuf`. It supplies a `strstreambuf` object to control the
|
| 34 |
+
associated array object. For the sake of exposition, the maintained data
|
| 35 |
+
is presented here as:
|
| 36 |
|
| 37 |
- `sb`, the `strstreambuf` object.
|
| 38 |
|
| 39 |
#### `strstream` constructors <a id="depr.strstream.cons">[[depr.strstream.cons]]</a>
|
| 40 |
|
|
|
|
| 62 |
`strstreambuf(s,n,s + std::strlen(s))`.
|
| 63 |
|
| 64 |
#### `strstream` destructor <a id="depr.strstream.dest">[[depr.strstream.dest]]</a>
|
| 65 |
|
| 66 |
``` cpp
|
| 67 |
+
virtual ~strstream();
|
| 68 |
```
|
| 69 |
|
| 70 |
*Effects:* Destroys an object of class `strstream`.
|
| 71 |
|
| 72 |
``` cpp
|