tmp/tmp44xziz4u/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Destructor <a id="variant.dtor">[[variant.dtor]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
~variant();
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Effects:* If `valueless_by_exception()` is `false`, destroys the
|
| 8 |
+
currently contained value.
|
| 9 |
+
|
| 10 |
+
*Remarks:* If `is_trivially_destructible_v<``Tᵢ``> == true` for all `Tᵢ`
|
| 11 |
+
then this destructor shall be a trivial destructor.
|
| 12 |
+
|