From Jason Turner

[depr.strstream.general]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp7pcxrjp2/{from.md → to.md} +0 -38
tmp/tmp7pcxrjp2/{from.md → to.md} RENAMED
@@ -1,38 +0,0 @@
1
- #### General <a id="depr.strstream.general">[[depr.strstream.general]]</a>
2
-
3
- ``` cpp
4
- namespace std {
5
- class strstream
6
- : public basic_iostream<char> {
7
- public:
8
- // types
9
- using char_type = char;
10
- using int_type = char_traits<char>::int_type;
11
- using pos_type = char_traits<char>::pos_type;
12
- using off_type = char_traits<char>::off_type;
13
-
14
- // constructors/destructor
15
- strstream();
16
- strstream(char* s, int n,
17
- ios_base::openmode mode = ios_base::in|ios_base::out);
18
- virtual ~strstream();
19
-
20
- // members
21
- strstreambuf* rdbuf() const;
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
-