<memory> (TR1)
Defines a class, an operator, and several templates that help allocate and free objects.
#include <memory>
Declarations
Class |
Description |
---|---|
Reports bad weak_ptr exception. |
|
Helps generate a shared_ptr. |
|
Wraps a shareable pointer. |
|
Wraps a weakly linked pointer. |
Template Functions
Operator |
Description |
---|---|
shared_ptr comparison, equal |
|
shared_ptr comparison, not equal |
|
shared_ptr and weak_ptr comparison, less than |
|
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. |