From Jason Turner

[ostream.cons]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpphu_nvb_/{from.md → to.md} +14 -4
tmp/tmpphu_nvb_/{from.md → to.md} RENAMED
@@ -1,18 +1,28 @@
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
- ``` cpp
8
- virtual ~basic_ostream();
9
- ```
 
 
10
 
11
  ``` cpp
12
  basic_ostream(basic_ostream&& rhs);
13
  ```
14
 
15
  *Effects:* Move constructs from the rvalue `rhs`. This is accomplished
16
  by default constructing the base class and calling
17
  `basic_ios<charT, traits>::move(rhs)` to initialize the base class.
18
 
 
 
 
 
 
 
 
 
 
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
 
17
  *Effects:* Move constructs from the rvalue `rhs`. This is accomplished
18
  by default constructing the base class and calling
19
  `basic_ios<charT, traits>::move(rhs)` to initialize the base class.
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
+