tmp/tmp47k46us1/{from.md → to.md}
RENAMED
|
@@ -1,23 +1,22 @@
|
|
| 1 |
-
####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
explicit basic_ios(basic_streambuf<charT, traits>* sb);
|
| 5 |
```
|
| 6 |
|
| 7 |
-
*Effects:*
|
| 8 |
-
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
basic_ios();
|
| 12 |
```
|
| 13 |
|
| 14 |
-
*Effects:*
|
| 15 |
-
`basic_ios`
|
| 16 |
-
|
| 17 |
-
|
| 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 |
-
*
|
| 31 |
-
|
| 32 |
|
| 33 |
-
**Table: `basic_ios::init()` effects** <a id="
|
| 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` |
|