From Jason Turner

[basic.ios.cons]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp47k46us1/{from.md → to.md} +10 -11
tmp/tmp47k46us1/{from.md → to.md} RENAMED
@@ -1,23 +1,22 @@
1
- #### `basic_ios` constructors <a id="basic.ios.cons">[[basic.ios.cons]]</a>
2
 
3
  ``` cpp
4
  explicit basic_ios(basic_streambuf<charT, traits>* sb);
5
  ```
6
 
7
- *Effects:* Constructs an object of class `basic_ios`, assigning initial
8
- values to its member objects by calling `init(sb)`.
9
 
10
  ``` cpp
11
  basic_ios();
12
  ```
13
 
14
- *Effects:* Constructs an object of class
15
- `basic_ios` ([[ios.base.cons]]) leaving its member objects
16
- uninitialized. The object shall be initialized by calling
17
- `basic_ios::init` before its first use or before it is destroyed,
18
- whichever comes first; otherwise the behavior is undefined.
19
 
20
  ``` cpp
21
  ~basic_ios();
22
  ```
23
 
@@ -25,14 +24,14 @@ whichever comes first; otherwise the behavior is undefined.
25
 
26
  ``` cpp
27
  void init(basic_streambuf<charT, traits>* sb);
28
  ```
29
 
30
- *Postconditions:* The postconditions of this function are indicated in
31
- Table  [[tab:iostreams.basicios.init.effects]].
32
 
33
- **Table: `basic_ios::init()` effects** <a id="tab:iostreams.basicios.init.effects">[tab:iostreams.basicios.init.effects]</a>
34
 
35
  | Element | Value |
36
  | -------------- | ------------------------------------------------------------ |
37
  | `rdbuf()` | `sb` |
38
  | `tie()` | `0` |
 
1
+ #### Constructors <a id="basic.ios.cons">[[basic.ios.cons]]</a>
2
 
3
  ``` cpp
4
  explicit basic_ios(basic_streambuf<charT, traits>* sb);
5
  ```
6
 
7
+ *Effects:* Assigns initial values to its member objects by calling
8
+ `init(sb)`.
9
 
10
  ``` cpp
11
  basic_ios();
12
  ```
13
 
14
+ *Effects:* Leaves its member objects uninitialized. The object shall be
15
+ initialized by calling `basic_ios::init` before its first use or before
16
+ it is destroyed, whichever comes first; otherwise the behavior is
17
+ undefined.
 
18
 
19
  ``` cpp
20
  ~basic_ios();
21
  ```
22
 
 
24
 
25
  ``` cpp
26
  void init(basic_streambuf<charT, traits>* sb);
27
  ```
28
 
29
+ *Ensures:* The postconditions of this function are indicated in
30
+ [[basic.ios.cons]].
31
 
32
+ **Table: `basic_ios::init()` effects** <a id="basic.ios.cons">[basic.ios.cons]</a>
33
 
34
  | Element | Value |
35
  | -------------- | ------------------------------------------------------------ |
36
  | `rdbuf()` | `sb` |
37
  | `tie()` | `0` |