From Jason Turner

[variant.specalg]

Diff to HTML by rtfpessoa

tmp/tmpj695j57z/{from.md → to.md} RENAMED
@@ -1,16 +1,16 @@
1
  ### Specialized algorithms <a id="variant.specalg">[[variant.specalg]]</a>
2
 
3
  ``` cpp
4
  template<class... Types>
5
- void swap(variant<Types...>& v, variant<Types...>& w) noexcept(see below);
6
  ```
7
 
8
  *Constraints:*
9
  `is_move_constructible_v<``Tᵢ``> && is_swappable_v<``Tᵢ``>` is `true`
10
  for all i.
11
 
12
  *Effects:* Equivalent to `v.swap(w)`.
13
 
14
- *Remarks:* The expression inside `noexcept` is equivalent to
15
  `noexcept(v.swap(w))`.
16
 
 
1
  ### Specialized algorithms <a id="variant.specalg">[[variant.specalg]]</a>
2
 
3
  ``` cpp
4
  template<class... Types>
5
+ constexpr void swap(variant<Types...>& v, variant<Types...>& w) noexcept(see below);
6
  ```
7
 
8
  *Constraints:*
9
  `is_move_constructible_v<``Tᵢ``> && is_swappable_v<``Tᵢ``>` is `true`
10
  for all i.
11
 
12
  *Effects:* Equivalent to `v.swap(w)`.
13
 
14
+ *Remarks:* The exception specification is equivalent to
15
  `noexcept(v.swap(w))`.
16