tmp/tmprarclk3q/{from.md → to.md}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
| 1 |
-
###
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class... Types>
|
| 5 |
-
void swap(tuple<Types...>& x, tuple<Types...>& y) noexcept(see below);
|
| 6 |
```
|
| 7 |
|
| 8 |
-
*
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
equivalent to:
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
noexcept(x.swap(y))
|
| 15 |
```
|
| 16 |
|
|
|
|
| 1 |
+
### Tuple specialized algorithms <a id="tuple.special">[[tuple.special]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class... Types>
|
| 5 |
+
constexpr void swap(tuple<Types...>& x, tuple<Types...>& y) noexcept(see below);
|
| 6 |
```
|
| 7 |
|
| 8 |
+
*Constraints:* `is_swappable_v<T>` is `true` for every type `T` in
|
| 9 |
+
`Types`.
|
| 10 |
+
|
| 11 |
+
*Remarks:* The expression inside `noexcept` is equivalent to:
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
noexcept(x.swap(y))
|
| 15 |
```
|
| 16 |
|