O'Reilly logo

Using the C++ Standard Template Libraries by Ivor Horton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 1

image

Introducing the Standard Template Library

This chapter explains the fundamental ideas behind the Standard Template Library (STL). This is to give you an overall grasp of how the various types of entities in the STL hang together. You’ll see more in-depth examples and discussion of everything that I introduce in this chapter in the book. In this chapter you’ll learn the following:

  • What is in the STL
  • How templates are defined and used
  • What a container is
  • What an iterator is and how it is used
  • The importance of smart pointers and their use with containers
  • What algorithms are and how you apply them
  • What is provided by the numerics library ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required