22 May
2020
22 May
'20
2:31 p.m.
On Fri, 22 May 2020 at 15:08, Andrey Semashev via Boost
However, std::deque continues to dynamically allocate chunks as you push and pop elements, even if the average number of enqueued elements stays the same. This is avoided by ring queues.
Nothing prevents you from using a pool allocator with a deque.