From Jason Turner

[expected.void.swap]

Diff to HTML by rtfpessoa

tmp/tmp24tuqftn/{from.md → to.md} RENAMED
@@ -13,12 +13,12 @@ constexpr void swap(expected& rhs) noexcept(see below);
13
 
14
  | \topline | `this->has_value()` | `!this->has_value()` |
15
  | -------- | ------------------- | -------------------- |
16
 
17
 
18
- For the case where `rhs.value()` is `false` and `this->has_value()` is
19
- `true`, equivalent to:
20
 
21
  ``` cpp
22
  construct_at(addressof(unex), std::move(rhs.unex));
23
  destroy_at(addressof(rhs.unex));
24
  has_val = false;
 
13
 
14
  | \topline | `this->has_value()` | `!this->has_value()` |
15
  | -------- | ------------------- | -------------------- |
16
 
17
 
18
+ For the case where `rhs.has_value()` is `false` and `this->has_value()`
19
+ is `true`, equivalent to:
20
 
21
  ``` cpp
22
  construct_at(addressof(unex), std::move(rhs.unex));
23
  destroy_at(addressof(rhs.unex));
24
  has_val = false;