List and Vector Templates in C++

Learn to use the list and vector templates of the STL.

We'll cover the following

STL list template

We now have enough experience with the general template classes and functions to move forward and take a deeper look at the STL.

We need to keep in mind that container classes mainly manage the data structures. Containers store user-defined data and primitive data. There are several standard container classes, header files, etc.

We’ll take a brief look at how they’re used. There are sequence containers that implement unique types of data structures and can be accessed sequentially. These types include vector, list, array, etc. When a new version of C++ is released, something new will be added; therefore, the list of sequence containers is incomplete.

Get hands-on with 1200+ tech skills courses.