12UTILITIES

See, the world is full of things more powerful than us. But if you know how to catch a ride, you can go places,” Raven says.“Right. I’m totally hip to what you’re saying.”—Neal Stephenson, Snow Crash

Image

The stdlib and Boost libraries provide a throng of types, classes, and functions that satisfy common programming needs. Together, this motley collection of tools is called utilities. Aside from their small, uncomplicated, and focused nature, utilities vary functionally.

In this chapter, you’ll learn about several simple data structures that handle many routine situations where you need objects to contain other objects. A discussion of ...

Get C++ Crash Course now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.