tmp/tmp04lpuo0f/{from.md → to.md}
RENAMED
|
@@ -3,14 +3,15 @@
|
|
| 3 |
``` cpp
|
| 4 |
void swap(basic_ofstream& rhs);
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Exchanges the state of `*this` and `rhs` by calling
|
| 8 |
-
`basic_ostream<charT, traits>::swap(rhs)` and
|
|
|
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
template<class charT, class traits>
|
| 12 |
void swap(basic_ofstream<charT, traits>& x, basic_ofstream<charT, traits>& y);
|
| 13 |
```
|
| 14 |
|
| 15 |
-
*Effects:* Equivalent to
|
| 16 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
void swap(basic_ofstream& rhs);
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Exchanges the state of `*this` and `rhs` by calling
|
| 8 |
+
`basic_ostream<charT, traits>::swap(rhs)` and
|
| 9 |
+
*`sb`*`.swap(rhs.`*`sb`*`)`.
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
template<class charT, class traits>
|
| 13 |
void swap(basic_ofstream<charT, traits>& x, basic_ofstream<charT, traits>& y);
|
| 14 |
```
|
| 15 |
|
| 16 |
+
*Effects:* Equivalent to `x.swap(y)`.
|
| 17 |
|