max0x7ba / atomic_queue

C++ lockless queue.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider adding try_pop returning optional

robinchrist opened this issue · comments

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?

What problem would that solve?