tmp/tmpl_hdn8nx/{from.md → to.md}
RENAMED
|
@@ -3,7 +3,10 @@
|
|
| 3 |
``` cpp
|
| 4 |
template <class T, class Container>
|
| 5 |
void swap(queue<T, Container>& x, queue<T, Container>& y) noexcept(noexcept(x.swap(y)));
|
| 6 |
```
|
| 7 |
|
| 8 |
-
*
|
|
|
|
|
|
|
|
|
|
| 9 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
template <class T, class Container>
|
| 5 |
void swap(queue<T, Container>& x, queue<T, Container>& y) noexcept(noexcept(x.swap(y)));
|
| 6 |
```
|
| 7 |
|
| 8 |
+
*Remarks:* This function shall not participate in overload resolution
|
| 9 |
+
unless `is_swappable_v<Container>` is `true`.
|
| 10 |
+
|
| 11 |
+
*Effects:* As if by `x.swap(y)`.
|
| 12 |
|