15.5. Sequence Containers

The C++ Standard Template Library provides five sequence containersarray, vector, deque, list and forward_list. Class templates array, vector and deque are based on built-in arrays. Class templates list and forward_list implement linked-list data structures. We’ve already discussed and used class template array extensively, so we do not cover it again here.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.