3. No Leaks Allowed - Exceptions and Resources
Learning Objectives
By the end of this chapter, you will be able to:
- Develop classes to manage resources
- Develop exception-robust code so that the resources do not leak through RAII
- Implement classes that can transfer resource ownership through move semantics
- Implement classes that control implicit conversion
In this chapter, you will learn how to use a class to manage resources, protect against leaks, and prevent copying a large amount of data.