Part 1: Memory in C++
In this part, we will develop a common vocabulary on some key aspects of the object model in C++. This includes a discussion of ideas such as what an object is, what a reference is, and how C++ represents memory; a look at some of the risky or delicate maneuvers we sometimes need to do when writing low-level code (and the consequences that stem from doing them inappropriately); and how to coerce the type system to our needs in ways that do not come back to harm us. The knowledge gathered in this part will serve as a basis from which later chapters will be built.
This part has the following chapters:
- Chapter 1, Objects, Pointers, and References
- Chapter 2, Things to Be Careful with
- Chapter 3, Casts and cv-qualifications