Summary
In this chapter, we have discussed some safety-related issues, with a focus on those involving exceptions. We have seen that some standard library types offer specialized semantics with respect to resource management, where “resource” includes but is not limited to memory. In Chapter 5, we will spend some time examining how to use and benefit from standard smart pointer; then, in Chapter 6, we will go further and look at some of the challenges behind writing your own versions of these smart pointers, as well as some other smart pointer-inspired types with other semantics. Then, we will delve into deeper memory management-related concerns.
Unlock this book’s exclusive benefits nowThis book comes with additional benefits designed to elevate your learning experience. |
|
|
Note: Have your purchase... |
