tmp/tmpkxk56a09/{from.md → to.md}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
**Table: `optional::operator=(optional&&)` effects** <a id="optional.assign.move">[optional.assign.move]</a>
|
| 2 |
|
| 3 |
| | `*this` contains a value | `*this` does not contain a value |
|
| 4 |
| ------------------------------ | ------------------------------------------------------ | ---------------------------------------------------------------------- |
|
| 5 |
-
| `rhs` contains a value | assigns `std::move(
|
| 6 |
| `rhs` does not contain a value | destroys the contained value by calling `val->T::~T()` | no effect |
|
| 7 |
|
|
|
|
| 1 |
**Table: `optional::operator=(optional&&)` effects** <a id="optional.assign.move">[optional.assign.move]</a>
|
| 2 |
|
| 3 |
| | `*this` contains a value | `*this` does not contain a value |
|
| 4 |
| ------------------------------ | ------------------------------------------------------ | ---------------------------------------------------------------------- |
|
| 5 |
+
| `rhs` contains a value | assigns `*std::move(rhs)` to the contained value | direct-non-list-initializes the contained value with `*std::move(rhs)` |
|
| 6 |
| `rhs` does not contain a value | destroys the contained value by calling `val->T::~T()` | no effect |
|
| 7 |
|