tmp/tmpj1zc3962/{from.md → to.md}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
#### `forward_list` specialized algorithms <a id="forwardlist.spec">[[forwardlist.spec]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template <class T, class Allocator>
|
| 5 |
-
void swap(forward_list<T,Allocator>& x, forward_list<T,Allocator>& y)
|
|
|
|
| 6 |
```
|
| 7 |
|
| 8 |
-
*Effects:* `x.swap(y)`
|
| 9 |
|
|
|
|
| 1 |
#### `forward_list` specialized algorithms <a id="forwardlist.spec">[[forwardlist.spec]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template <class T, class Allocator>
|
| 5 |
+
void swap(forward_list<T, Allocator>& x, forward_list<T, Allocator>& y)
|
| 6 |
+
noexcept(noexcept(x.swap(y)));
|
| 7 |
```
|
| 8 |
|
| 9 |
+
*Effects:* As if by `x.swap(y)`.
|
| 10 |
|