std::optional<T>
constructs T
only when it starts holding a non-empty object. It destroys its object when reset.
std::optional<T>
constructs T
only when it starts holding a non-empty object. It destroys its object when reset.