Since
- they are both contiguous memory containers;
- feature wise, deque has almost everything vector has but more, since it is more efficient to insert in the front.
Why whould anyone prefer std::vector
to std::deque
?
Since
Why whould anyone prefer std::vector
to std::deque
?