March 2025
Intermediate to advanced
442 pages
11h 16m
English
We have come a long way since the beginning of this book. Recent chapters examined how one can write memory-efficient containers, describing how to do so when memory management is done explicitly (in Chapter 12) and when it is done implicitly, through smart pointers (in Chapter 13). Choosing a memory management approach is not an either/or proposition; each one is useful in its own way and solves real-life use cases depending on one’s application domain.
However, none of the approaches we have covered so far match what standard library containers do. Indeed, standard library containers (as well as many other standard library types that can dynamically allocate memory) are allocator-aware
Read now
Unlock full access