<memory> (TR1)
Defines a class, an operator, and several templates that help allocate and free objects.
#include <memory>
Operator | Description |
|---|---|
shared_ptr comparison, equal | |
shared_ptr comparison, not equal | |
shared_ptr comparison, greater than | |
shared_ptr and weak_ptr comparison, less than | |
shared_ptr comparison, greater than or equal to | |
shared_ptr inserter |
Function | Description |
|---|---|
Const cast to shared_ptr. | |
Dynamic cast to shared_ptr. | |
Gets a deleter from a shared_ptr. | |
Static cast to shared_ptr. | |
Swap two shared_ptr or weak_ptr objects. |
Community Additions
Show: