2 ms·
> the C++ std::deque is something which you wouldn't invent today, Why is that? My major issue with std::deque is that the standard implementation doesn't pro
by gpderetta 2y ago
> the C++ std::deque is something which you wouldn't invent today,
Why is that?
My major issue with std::deque is that the standard implementation doesn't provide a) a way to define the block size, b) a way to access the single blocks for optimizations. The deque in boost.container provides the former. I don't know if any widely available implementation provides the latter (segmented iterators were first proposed around the original C++ standardization, but it seems that were never picked up).