tmp/tmp66inm8y9/{from.md → to.md}
RENAMED
|
@@ -13,11 +13,11 @@ basic_ostream<charT,traits>* tie(basic_ostream<charT,traits>* tiestr);
|
|
| 13 |
|
| 14 |
*Requires:* If `tiestr` is not null, `tiestr` must not be reachable by
|
| 15 |
traversing the linked list of tied stream objects starting from
|
| 16 |
`tiestr->tie()`.
|
| 17 |
|
| 18 |
-
`tiestr == tie()`.
|
| 19 |
|
| 20 |
*Returns:* The previous value of `tie()`.
|
| 21 |
|
| 22 |
``` cpp
|
| 23 |
basic_streambuf<charT, traits>* rdbuf() const;
|
|
@@ -27,11 +27,11 @@ basic_streambuf<charT,traits>* rdbuf() const;
|
|
| 27 |
|
| 28 |
``` cpp
|
| 29 |
basic_streambuf<charT, traits>* rdbuf(basic_streambuf<charT, traits>* sb);
|
| 30 |
```
|
| 31 |
|
| 32 |
-
`sb == rdbuf()`.
|
| 33 |
|
| 34 |
*Effects:* Calls `clear()`.
|
| 35 |
|
| 36 |
*Returns:* The previous value of `rdbuf()`.
|
| 37 |
|
|
@@ -65,11 +65,11 @@ specified field width.
|
|
| 65 |
|
| 66 |
``` cpp
|
| 67 |
char_type fill(char_type fillch);
|
| 68 |
```
|
| 69 |
|
| 70 |
-
`traits::eq(fillch, fill())`
|
| 71 |
|
| 72 |
*Returns:* The previous value of `fill()`.
|
| 73 |
|
| 74 |
``` cpp
|
| 75 |
basic_ios& copyfmt(const basic_ios& rhs);
|
|
@@ -90,15 +90,15 @@ follows:
|
|
| 90 |
stored outside the object `rhs` and those objects are destroyed
|
| 91 |
when `rhs` is destroyed, the newly stored pointer values are
|
| 92 |
altered to point at newly constructed copies of the objects;
|
| 93 |
3. calls each callback pair that was copied from `rhs` as
|
| 94 |
`(*fn)(copyfmt_event, *this, index)`;
|
| 95 |
-
4. calls `exceptions(rhs.
|
| 96 |
|
| 97 |
-
*Note
|
| 98 |
`pword` value to be zeroed, or to have its referent deep copied or
|
| 99 |
-
reference counted, or to have other special action taken.
|
| 100 |
|
| 101 |
*Postconditions:* The postconditions of this function are indicated in
|
| 102 |
Table [[tab:iostreams.copyfmt.effects]].
|
| 103 |
|
| 104 |
**Table: `basic_ios::copyfmt()` effects** <a id="tab:iostreams.copyfmt.effects">[tab:iostreams.copyfmt.effects]</a>
|
|
|
|
| 13 |
|
| 14 |
*Requires:* If `tiestr` is not null, `tiestr` must not be reachable by
|
| 15 |
traversing the linked list of tied stream objects starting from
|
| 16 |
`tiestr->tie()`.
|
| 17 |
|
| 18 |
+
*Postconditions:* `tiestr == tie()`.
|
| 19 |
|
| 20 |
*Returns:* The previous value of `tie()`.
|
| 21 |
|
| 22 |
``` cpp
|
| 23 |
basic_streambuf<charT, traits>* rdbuf() const;
|
|
|
|
| 27 |
|
| 28 |
``` cpp
|
| 29 |
basic_streambuf<charT, traits>* rdbuf(basic_streambuf<charT, traits>* sb);
|
| 30 |
```
|
| 31 |
|
| 32 |
+
*Postconditions:* `sb == rdbuf()`.
|
| 33 |
|
| 34 |
*Effects:* Calls `clear()`.
|
| 35 |
|
| 36 |
*Returns:* The previous value of `rdbuf()`.
|
| 37 |
|
|
|
|
| 65 |
|
| 66 |
``` cpp
|
| 67 |
char_type fill(char_type fillch);
|
| 68 |
```
|
| 69 |
|
| 70 |
+
*Postconditions:* `traits::eq(fillch, fill())`.
|
| 71 |
|
| 72 |
*Returns:* The previous value of `fill()`.
|
| 73 |
|
| 74 |
``` cpp
|
| 75 |
basic_ios& copyfmt(const basic_ios& rhs);
|
|
|
|
| 90 |
stored outside the object `rhs` and those objects are destroyed
|
| 91 |
when `rhs` is destroyed, the newly stored pointer values are
|
| 92 |
altered to point at newly constructed copies of the objects;
|
| 93 |
3. calls each callback pair that was copied from `rhs` as
|
| 94 |
`(*fn)(copyfmt_event, *this, index)`;
|
| 95 |
+
4. calls `exceptions(rhs.exceptions())`.
|
| 96 |
|
| 97 |
+
[*Note 1*: The second pass through the callback pairs permits a copied
|
| 98 |
`pword` value to be zeroed, or to have its referent deep copied or
|
| 99 |
+
reference counted, or to have other special action taken. — *end note*]
|
| 100 |
|
| 101 |
*Postconditions:* The postconditions of this function are indicated in
|
| 102 |
Table [[tab:iostreams.copyfmt.effects]].
|
| 103 |
|
| 104 |
**Table: `basic_ios::copyfmt()` effects** <a id="tab:iostreams.copyfmt.effects">[tab:iostreams.copyfmt.effects]</a>
|