cpp/utility/optional/reset

If contains a value, destroy that value as if by. Otherwise, there are no effects.

does not contain a value after this call.