Dynamic memory management

Dynamic memory management

Smart pointers

Smart pointers enable automatic, exception-safe, object lifetime management.

Defined in header <memory>
Pointer categories
(C++11)
smart pointer with unique object ownership semantics
(class template)