c++ - What is the preferred STL collection when that's all you need? -


I just need "bags of things" It does not require a set, a map or any special order. I need to be able to add and repeat things, and nothing else. I do not expect it to be too big, but it can not really get a bad perf.

Which containers should I use?

The standard recommends using your default container as your vector. But in reality.


Comments