What Are Containers In STL?

What Are Containers In STL? An STL container is a collection of objects of the same type (the elements). Container owns the elements. Creation and destruction is controlled by the container. What does container mean in C++? A container is a holder object that stores a collection of other objects (its elements). … The container