tmp/tmp391b1aih/{from.md → to.md}
RENAMED
|
@@ -3,13 +3,16 @@
|
|
| 3 |
``` cpp
|
| 4 |
template <class... Types>
|
| 5 |
void swap(tuple<Types...>& x, tuple<Types...>& y) noexcept(see below);
|
| 6 |
```
|
| 7 |
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
noexcept(x.swap(y))
|
| 12 |
```
|
| 13 |
|
| 14 |
-
*Effects:* `x.swap(y)`
|
| 15 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
template <class... Types>
|
| 5 |
void swap(tuple<Types...>& x, tuple<Types...>& y) noexcept(see below);
|
| 6 |
```
|
| 7 |
|
| 8 |
+
*Remarks:* This function shall not participate in overload resolution
|
| 9 |
+
unless `is_swappable_v<``Tᵢ``>` is `true` for all i, where
|
| 10 |
+
0 ≤ i < `sizeof...(Types)`. The expression inside `noexcept` is
|
| 11 |
+
equivalent to:
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
noexcept(x.swap(y))
|
| 15 |
```
|
| 16 |
|
| 17 |
+
*Effects:* As if by `x.swap(y)`.
|
| 18 |
|