Introduction
The first category of containers we'll study are the sequential containers. Listed below are the major features for various types of sequential containers.
We'll cover the following...
The sequential container has a lot in common, but each container has its special domain. Before I dive into the details, I provide an overview of all five sequential containers of the std namespace.
These are the sequential containers:
Criteria | Array | Vector | Deque | List | Forward List |
---|---|---|---|---|---|
Size | static | dynamic | dynamic | dynamic | dynamic |