In which scenario do I use a particular STL container?

后端 未结 10 916
遥遥无期
遥遥无期 2020-11-22 00:31

I\'ve been reading up on STL containers in my book on C++, specifically the section on the STL and its containers. Now I do understand each and every one of them have their

10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-22 01:19

    Here is a flowchart inspired by David Moore's version (see above) that I created, which is up-to-date (mostly) with the new standard (C++11). This is only my personal take on it, it's not indisputable, but I figured it could be valuable to this discussion:

    enter image description here

提交回复
热议问题