tmp/tmp97ma7tsp/{from.md → to.md}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
#### `swap` <a id="tuple.swap">[[tuple.swap]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
void swap(tuple& rhs) noexcept(see below);
|
| 5 |
```
|
| 6 |
|
| 7 |
-
*
|
| 8 |
-
with
|
| 9 |
|
| 10 |
*Effects:* Calls `swap` for each element in `*this` and its
|
| 11 |
corresponding element in `rhs`.
|
| 12 |
|
| 13 |
*Remarks:* The expression inside `noexcept` is equivalent to the logical
|
|
|
|
| 1 |
#### `swap` <a id="tuple.swap">[[tuple.swap]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
constexpr void swap(tuple& rhs) noexcept(see below);
|
| 5 |
```
|
| 6 |
|
| 7 |
+
*Preconditions:* Each element in `*this` is swappable
|
| 8 |
+
with [[swappable.requirements]] the corresponding element in `rhs`.
|
| 9 |
|
| 10 |
*Effects:* Calls `swap` for each element in `*this` and its
|
| 11 |
corresponding element in `rhs`.
|
| 12 |
|
| 13 |
*Remarks:* The expression inside `noexcept` is equivalent to the logical
|