Summary
In this chapter, we reexamined containers written in Chapter 12, seeking to use implicit memory management tools in such a way as to make our implementations simpler and safer. We did reach an improvement in Vector<T> but the results obtained with our node-based ForwardList<T> container were… not absent, but arguably less conclusive depending on your perspective.
In the next chapter, we will introduce the idea of allocators, objects that inform containers as to how memory should be obtained or liberated, and examine how they impact the ways in which we write code.
Unlock this book’s exclusive benefits nowThis book comes with additional benefits designed to elevate your learning experience. |
|
|
Note: Have your purchase invoice ready before you begin. |
