February 2024
Intermediate to advanced
816 pages
20h 7m
English
The C++ standard library has evolved a lot with C++11/14/17/20, and now C++23. However, at its core still sit three main pillars: containers, algorithms, and iterators. They are all implemented as generic types and general-purpose function templates. In this chapter, we’ll look at how they can be employed together to achieve various goals.
We will cover the following recipes in this chapter:
vector as a default containerbitset for fixed-size sequences of bitsvector<bool> for variable-size sequences of bitsRead now
Unlock full access