Dive deeper into C++ with smart pointers: intelligent objects that ensure memory and other resources are allocated appropriately and efficiently.
- Hi, I'm Bill Weinman and welcome to C++ Smart Pointers. The goal of this course is to help you understand Smart Pointers in C++ so you can effectively manage object resources in your C++ code. We'll start with a simple and clear discussion of the different types of Smart Pointers provided by C++. I'll show you how each type of Smart Pointer works and how to use them properly. I'll show you how to choose from the different types of Smart Pointers and finally, I'll cover the use of custom deleters for circumstances where you need to do more than just call a destructor on a managed object.
This course presumes that you have a working knowledge of C++, including functions, classes, objects and templates. If you need to brush up on your C++, please see my course C++ Essential Training here on the Lynda.com online training library. Smart Pointers are an important improvement in C++ 11, which will help you better manage your object resources and avoid memory leaks into your code. So let's get started with C++ Smart Pointers.