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

No credit card required

CHAPTER 5

Working with Sets

This chapter is about working with sets. A set is a simple mathematical concept that is intuitive in its meaning – a collection of things with some common characteristic. There are two notions of a set in the STL, both of which relate to the mathematical idea of a set. A set can be a sequence of objects within a range that is defined by two iterators. A set is also a type of container with particular characteristics. Set containers are associative containers in which the objects are their own keys. In this chapter, you’ll learn the following:

• What set containers are provided by the STL.
• The functions available with ...

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

No credit card required