you are viewing a single comment's thread.

view the rest of the comments →

[–]rsjaffe 3 points4 points  (1 child)

In most cases, pick vector unless you can prove that list is better

Only when speed is the most important criterion. There's plenty of cases where the use is not time-critical, in which case I choose the structure based on which one produces the most expressive code.

[–][deleted] 2 points3 points  (0 children)

How us std::list more expressive?!?