Closed HGuillemet closed 1 year ago
What about adding reset() to optional container ? The only alternative to clear the value of an optional I'm aware of, is to assign from a default-constructed optional:
reset()
optional
MyOptional optional; ... optional.put(new MyOptional())
What about adding
reset()
tooptional
container ? The only alternative to clear the value of an optional I'm aware of, is to assign from a default-constructed optional: