March 2024
Beginner
248 pages
7h 12m
English
This chapter covers
std::visit method and Overload patternstd::format, and rangesWe have used parameter packs (the three dots in a template) several times now, but we have not paused to understand how they work. In the final chapter, we will fill in the dots, as well as practice many things we have learned so far. We will generate triangle numbers and briefly consider some of their properties. Triangle numbers crop up in various places (e.g., counting how many handshakes would happen in a group of people if everyone shakes hands). Because we started with Pascal’s triangle, returning ...
Read now
Unlock full access