Technical requirements
You can find the code files for this chapter in the book’s GitHub repository here: https://github.com/PacktPublishing/C-Plus-Plus-Memory-Management/tree/main/chapter13.
Some words about the code excerpts in this chapter
This chapter will for the most part revisit and modify (hopefully simplifying!) the code examples from Chapter 12, using ideas from previous chapters (notably Chapter 5 and Chapter 6) along the way. Since a lot of the code used for Vector<T> and ForwardList<T> will not change, we will not write the entire classes all over again to avoid undue repetition.
Instead, we will concentrate on the most meaningful modifications made to the previous versions of those classes, sometimes comparing implementations “before” and “after” modifications have been made. Of course, the code samples in the GitHub repository are complete and can be used to “complete the picture.”