Advertisement

Containers

  • Peter Van Weert
  • Marc Gregoire
Chapter

Abstract

The C++ Standard Library provides a selection of different data structures called containers that you can use to store collections of data elements. Containers work in tandem with algorithms, described in Chapter  4. Containers and algorithms are designed in such a way that they do not need to know about each other. The interaction between them is accomplished with iterators. All containers provide iterators, and algorithms only need iterators to be able to perform their work.

Copyright information

© Peter Van Weert and Marc Gregoire 2019

Authors and Affiliations

  • Peter Van Weert
    • 1
  • Marc Gregoire
    • 2
  1. 1.Kessel-LoBelgium
  2. 2.MeldertBelgium

Personalised recommendations