From Jason Turner

[tuple.swap]

Diff to HTML by rtfpessoa

tmp/tmp90gti071/{from.md → to.md} RENAMED
@@ -2,23 +2,23 @@
2
 
3
  ``` cpp
4
  void swap(tuple& rhs) noexcept(see below);
5
  ```
6
 
7
- The expression inside `noexcept` is equivalent to the logical
8
- <span class="smallcaps">and</span> of the following expressions:
9
-
10
- ``` cpp
11
- noexcept(swap(declval<Tᵢ&>>(), declval<Tᵢ&>()))
12
- ```
13
-
14
- where Tᵢ is the iᵗʰ type in `Types`.
15
-
16
  *Requires:* Each element in `*this` shall be swappable
17
  with ([[swappable.requirements]]) the corresponding element in `rhs`.
18
 
19
  *Effects:* Calls `swap` for each element in `*this` and its
20
  corresponding element in `rhs`.
21
 
 
 
 
 
 
 
 
 
 
22
  *Throws:* Nothing unless one of the element-wise `swap` calls throws an
23
  exception.
24
 
 
2
 
3
  ``` cpp
4
  void swap(tuple& rhs) noexcept(see below);
5
  ```
6
 
 
 
 
 
 
 
 
 
 
7
  *Requires:* Each element in `*this` shall be 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
14
+ <span class="smallcaps">and</span> of the following expressions:
15
+
16
+ ``` cpp
17
+ is_nothrow_swappable_v<Tᵢ>
18
+ ```
19
+
20
+ where Tᵢ is the iᵗʰ type in `Types`.
21
+
22
  *Throws:* Nothing unless one of the element-wise `swap` calls throws an
23
  exception.
24