Home

Smart pointers

What problem do smart pointers solve?

They are pointers, but they are smart because they handle the allocation and deallocation of the underlying heap memory they point to.

unique_ptr

shared_ptr

weak_ptr

Performance

Concurrency

Function Arguments and Return Values