15 Jun
2020
15 Jun
'20
3:51 p.m.
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.