From Jason Turner

[optional.specalg]

Diff to HTML by rtfpessoa

tmp/tmpx_fbrms8/{from.md → to.md} RENAMED
@@ -1,9 +1,10 @@
1
  ### Specialized algorithms <a id="optional.specalg">[[optional.specalg]]</a>
2
 
3
  ``` cpp
4
- template<class T> void swap(optional<T>& x, optional<T>& y) noexcept(noexcept(x.swap(y)));
 
5
  ```
6
 
7
  *Constraints:* `is_move_constructible_v<T>` is `true` and
8
  `is_swappable_v<T>` is `true`.
9
 
 
1
  ### Specialized algorithms <a id="optional.specalg">[[optional.specalg]]</a>
2
 
3
  ``` cpp
4
+ template<class T>
5
+ constexpr void swap(optional<T>& x, optional<T>& y) noexcept(noexcept(x.swap(y)));
6
  ```
7
 
8
  *Constraints:* `is_move_constructible_v<T>` is `true` and
9
  `is_swappable_v<T>` is `true`.
10