tmp/tmpo9twmwl6/{from.md → to.md}
RENAMED
|
@@ -2,13 +2,13 @@
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
basic_filebuf& operator=(basic_filebuf&& rhs);
|
| 5 |
```
|
| 6 |
|
| 7 |
-
*Effects:* Calls `
|
| 8 |
-
|
| 9 |
-
|
| 10 |
|
| 11 |
*Returns:* `*this`.
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
void swap(basic_filebuf& rhs);
|
|
@@ -20,7 +20,7 @@ void swap(basic_filebuf& rhs);
|
|
| 20 |
template <class charT, class traits>
|
| 21 |
void swap(basic_filebuf<charT, traits>& x,
|
| 22 |
basic_filebuf<charT, traits>& y);
|
| 23 |
```
|
| 24 |
|
| 25 |
-
*Effects:* `x.swap(y)`.
|
| 26 |
|
|
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
basic_filebuf& operator=(basic_filebuf&& rhs);
|
| 5 |
```
|
| 6 |
|
| 7 |
+
*Effects:* Calls `close()` then move assigns from `rhs`. After the move
|
| 8 |
+
assignment `*this` has the observable state it would have had if it had
|
| 9 |
+
been move constructed from `rhs` (see [[filebuf.cons]]).
|
| 10 |
|
| 11 |
*Returns:* `*this`.
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
void swap(basic_filebuf& rhs);
|
|
|
|
| 20 |
template <class charT, class traits>
|
| 21 |
void swap(basic_filebuf<charT, traits>& x,
|
| 22 |
basic_filebuf<charT, traits>& y);
|
| 23 |
```
|
| 24 |
|
| 25 |
+
*Effects:* As if by `x.swap(y)`.
|
| 26 |
|