C++ Language/Indirection/SmartPointers
A "smart pointer" is an object which manages an allocation of memory, so that memory gets deallocated at the appropriate time.
- Risk from Raw Pointers
- Unique Ownership
- Shared Ownership
- Ownership Cycle
- Owning an Array
- Pointer to Base-Class
- Returning this
- Smart Compiler-Temporary
- Custom Destruction
- Template-Parameter