c++ - vector vs. list in STL -



c++ - vector vs. list in STL -

i noticed in effective stl

vector type of sequence should used default.

what's mean? seems ignore efficiency vector can anything. offer me scenario vector not feasible alternative list must used?

situations want insert lot of items middle of sequence repeatedly.

check out complexity gurantees each different type of container:

what complexity guarantees of standard containers?

c++ stl

Comments

Popular posts from this blog

javascript - THREE.js reposition vertices for RingGeometry -

javascript - I need to update the text of a paragraph by inline edit -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -