From Jason Turner

[depr.ostrstream]

Diff to HTML by rtfpessoa

tmp/tmpb9yg1hlh/{from.md → to.md} RENAMED
@@ -31,11 +31,11 @@ is presented here as:
31
  ostrstream();
32
  ```
33
 
34
  *Effects:* Constructs an object of class `ostrstream`, initializing the
35
  base class with `ostream(&sb)` and initializing `sb` with
36
- `strstreambuf())`.
37
 
38
  ``` cpp
39
  ostrstream(char* s, int n, ios_base::openmode mode = ios_base::out);
40
  ```
41
 
@@ -46,11 +46,11 @@ constructors:
46
  - If `(mode & app) == 0`, then `s` shall designate the first element of
47
  an array of `n` elements. The constructor is `strstreambuf(s, n, s)`.
48
  - If `(mode & app) != 0`, then `s` shall designate the first element of
49
  an array of `n` elements that contains an NTBSwhose first element is
50
  designated by `s`. The constructor is
51
- `strstreambuf(s, n, s + std::strlen(s))`.[^2]
52
 
53
  #### Member functions <a id="depr.ostrstream.members">[[depr.ostrstream.members]]</a>
54
 
55
  ``` cpp
56
  strstreambuf* rdbuf() const;
 
31
  ostrstream();
32
  ```
33
 
34
  *Effects:* Constructs an object of class `ostrstream`, initializing the
35
  base class with `ostream(&sb)` and initializing `sb` with
36
+ `strstreambuf()`.
37
 
38
  ``` cpp
39
  ostrstream(char* s, int n, ios_base::openmode mode = ios_base::out);
40
  ```
41
 
 
46
  - If `(mode & app) == 0`, then `s` shall designate the first element of
47
  an array of `n` elements. The constructor is `strstreambuf(s, n, s)`.
48
  - If `(mode & app) != 0`, then `s` shall designate the first element of
49
  an array of `n` elements that contains an NTBSwhose first element is
50
  designated by `s`. The constructor is
51
+ `strstreambuf(s, n, s + std::strlen(s))`.[^3]
52
 
53
  #### Member functions <a id="depr.ostrstream.members">[[depr.ostrstream.members]]</a>
54
 
55
  ``` cpp
56
  strstreambuf* rdbuf() const;