Your Library
Chapter 16 · UtilitiesTime, callable adaptation, type traits, bits, and program termination
Contents
Chapter 15Sections 16.1–16.9

Utilities

Time, callable adaptation, type traits, bits, and program termination

The standard library includes small utilities that solve problems shared across many parts of C++: measuring time, adapting callables, inspecting types at compile time, capturing source locations, moving and forwarding values, manipulating bits, and ending a process. Knowing these building blocks helps you avoid reimplementing subtle behavior.

In this chapter

  1. 15.1Lesson 16: Utilities