18.4.1 The Class auto_ptr
- "Smart pointers"
- Declared in <memory>
- Good when the lifetime of the dynamic value is tied to another object
- Dynamic memory auto_ptr references is automatically
recovered
- Very useful with exceptions
See also: Advanced Topic 18.2 -
Overloading the memory management operators.
prev
|top
|next