2.1. Sequential and Associative

Collections come in two flavors

sequential:

- values are accessed in an order determined by their insertion.

The std sequential containers are vector, deque, list, stack, queue, and priority queue.

associative:

- allow "random" access

The std associative containers are set, map, multi-set, and multi-map.


In the Forum:

(no threads at this time)