Consider adding try_pop returning optional
robinchrist opened this issue · comments
Robin Christ commented
Hi,
I think it would be useful if there was something like std::optional<T> try_pop_opt()
, at least for types for which it's possible.
What do you think?
Maxim Egorushkin commented
What problem would that solve?