From Jason Turner

[ostream.cons]

Diff to HTML by rtfpessoa

tmp/tmp8ks03pne/{from.md → to.md} RENAMED
@@ -1,16 +1,15 @@
1
- ##### `basic_ostream` constructors <a id="ostream.cons">[[ostream.cons]]</a>
2
 
3
  ``` cpp
4
  explicit basic_ostream(basic_streambuf<charT, traits>* sb);
5
  ```
6
 
7
- *Effects:* Constructs an object of class `basic_ostream`, initializing
8
- the base class subobject with
9
- `basic_ios<charT, traits>::init(sb)` ([[basic.ios.cons]]).
10
 
11
- *Postconditions:* `rdbuf() == sb`.
12
 
13
  ``` cpp
14
  basic_ostream(basic_ostream&& rhs);
15
  ```
16
 
@@ -20,9 +19,7 @@ by default constructing the base class and calling
20
 
21
  ``` cpp
22
  virtual ~basic_ostream();
23
  ```
24
 
25
- *Effects:* Destroys an object of class `basic_ostream`.
26
-
27
  *Remarks:* Does not perform any operations on `rdbuf()`.
28
 
 
1
+ ##### Constructors <a id="ostream.cons">[[ostream.cons]]</a>
2
 
3
  ``` cpp
4
  explicit basic_ostream(basic_streambuf<charT, traits>* sb);
5
  ```
6
 
7
+ *Effects:* Initializes the base class subobject with
8
+ `basic_ios<charT, traits>::init(sb)` [[basic.ios.cons]].
 
9
 
10
+ *Ensures:* `rdbuf() == sb`.
11
 
12
  ``` cpp
13
  basic_ostream(basic_ostream&& rhs);
14
  ```
15
 
 
19
 
20
  ``` cpp
21
  virtual ~basic_ostream();
22
  ```
23
 
 
 
24
  *Remarks:* Does not perform any operations on `rdbuf()`.
25