Destroys any contained value if the `optional` is not empty.
| 375 | |
| 376 | // Destroys any contained value if the `optional` is not empty. |
| 377 | void reset() { |
| 378 | if (_engaged) { |
| 379 | _storage.Destroy(); |
| 380 | _engaged = false; |
| 381 | } |
| 382 | } |
| 383 | |
| 384 | // Constructs the contained value in-place. |
| 385 | // Return a reference to the new contained value. |
no test coverage detected