tmp/tmp7wotvdq5/{from.md → to.md}
RENAMED
|
@@ -1,17 +0,0 @@
|
|
| 1 |
-
#### Assignment and swap <a id="fstream.assign">[[fstream.assign]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
void swap(basic_fstream& rhs);
|
| 5 |
-
```
|
| 6 |
-
|
| 7 |
-
*Effects:* Exchanges the state of `*this` and `rhs` by calling
|
| 8 |
-
`basic_iostream<charT,traits>::swap(rhs)` and `sb.swap(rhs.sb)`.
|
| 9 |
-
|
| 10 |
-
``` cpp
|
| 11 |
-
template<class charT, class traits>
|
| 12 |
-
void swap(basic_fstream<charT, traits>& x,
|
| 13 |
-
basic_fstream<charT, traits>& y);
|
| 14 |
-
```
|
| 15 |
-
|
| 16 |
-
*Effects:* Equivalent to: `x.swap(y)`.
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|