From Jason Turner

[stringbuf.cons]

Diff to HTML by rtfpessoa

tmp/tmpuui5fm7w/{from.md → to.md} RENAMED
@@ -1,20 +1,21 @@
1
  #### `basic_stringbuf` constructors <a id="stringbuf.cons">[[stringbuf.cons]]</a>
2
 
3
  ``` cpp
4
- explicit basic_stringbuf(ios_base::openmode which =
5
- ios_base::in | ios_base::out);
6
  ```
7
 
8
  *Effects:* Constructs an object of class `basic_stringbuf`, initializing
9
  the base class with `basic_streambuf()` ([[streambuf.cons]]), and
10
  initializing `mode` with `which`.
11
 
12
- `str() == ""`.
13
 
14
  ``` cpp
15
- explicit basic_stringbuf(const basic_string<charT,traits,Allocator>& s,
 
16
  ios_base::openmode which = ios_base::in | ios_base::out);
17
  ```
18
 
19
  *Effects:* Constructs an object of class `basic_stringbuf`, initializing
20
  the base class with `basic_streambuf()` ([[streambuf.cons]]), and
 
1
  #### `basic_stringbuf` constructors <a id="stringbuf.cons">[[stringbuf.cons]]</a>
2
 
3
  ``` cpp
4
+ explicit basic_stringbuf(
5
+ ios_base::openmode which = ios_base::in | ios_base::out);
6
  ```
7
 
8
  *Effects:* Constructs an object of class `basic_stringbuf`, initializing
9
  the base class with `basic_streambuf()` ([[streambuf.cons]]), and
10
  initializing `mode` with `which`.
11
 
12
+ *Postconditions:* `str() == ""`.
13
 
14
  ``` cpp
15
+ explicit basic_stringbuf(
16
+ const basic_string<charT, traits, Allocator>& s,
17
  ios_base::openmode which = ios_base::in | ios_base::out);
18
  ```
19
 
20
  *Effects:* Constructs an object of class `basic_stringbuf`, initializing
21
  the base class with `basic_streambuf()` ([[streambuf.cons]]), and