Sequences Click on the banner to return to the class reference home page. Summary A sequence is a container that organizes a set of objects, all the same type, into a linear arrangement. The classes vector , list , deque , and string fall into this category.
Sequences offer different complexity trade-offs.
Use list when there are frequent insertions and deletions from the middle of the sequence. See Also For more information about sequences and their requirements, see the Containers section of this reference guide, or see the section on the specific container.