15 Jun
2020
15 Jun
'20
4:08 p.m.
On 2020-06-15 18:51, Peter Dimov via Boost wrote:
Andrey Semashev wrote:
Hi,
Some time ago I have proposed to include ring_queue and small_ring_queue containers to Boost.Container:
Interestingly, the committee is now discussing a proposal to make std::queue constexpr, and it came up that no standard container can ever be used with a constexpr std::queue, because no standard container can have a constexpr pop_front.
However, it seems to me that both a "ring deque" and a vector-deque as in DoubleEnded can provide a constexpr pop_front (in C++20.)
This might or might not be a sufficient reason to pursue these.
I see, thanks for the info. I'll see if I can propose ring queues as a separate library then.