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