From Jason Turner

[depr.istrstream.general]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpvpvgo36m/{from.md → to.md} +27 -0
tmp/tmpvpvgo36m/{from.md → to.md} RENAMED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### General <a id="depr.istrstream.general">[[depr.istrstream.general]]</a>
2
+
3
+ ``` cpp
4
+ namespace std {
5
+ class istrstream : public basic_istream<char> {
6
+ public:
7
+ explicit istrstream(const char* s);
8
+ explicit istrstream(char* s);
9
+ istrstream(const char* s, streamsize n);
10
+ istrstream(char* s, streamsize n);
11
+ virtual ~istrstream();
12
+
13
+ strstreambuf* rdbuf() const;
14
+ char* str();
15
+ private:
16
+ strstreambuf sb; // exposition only
17
+ };
18
+ }
19
+ ```
20
+
21
+ The class `istrstream` supports the reading of objects of class
22
+ `strstreambuf`. It supplies a `strstreambuf` object to control the
23
+ associated array object. For the sake of exposition, the maintained data
24
+ is presented here as:
25
+
26
+ - `sb`, the `strstreambuf` object.
27
+