Home Segments Index Top Previous Next

Chapter 44:

How To Prevent Object Copying

In Chapter 43, you learned how to reclaim memory, preventing memory leaks, by using the delete operator and destructor functions. In this chapter, you learn more about memory management in general, and about copy constructors in particular.