15 Jun
2020
15 Jun
'20
4:18 p.m.
On 2020-06-15 19:11, Peter Dimov via Boost wrote:
Andrey Semashev wrote:
I see, thanks for the info. I'll see if I can propose ring queues as a separate library then.
I'd prefer containers and not queues though. That is, {push,pop}_{front,back} instead of push/pop. "Ring deque".
Containers are less appealing for the ring design because erasing and inserting at arbitrary position will be inefficient. Though the same is also true for std::deque and std::vector...