Container

A container is a collection of objects. Container is a template that must be instantiated with the type of objects contained. Subclasses extend container to maintain order and index elements. An Iterator for a container steps through the container an element at a time.

Subclasses:

Member functions: IMPORTANT!!! Note that in GNU 2.7.2, template unification doesn't realize that a secondary operation (e.g. filter) defined on a container also works on a subclass; you must explicitly typecast to Container in passing arguments to such operations.

Secondary operations: