|
Blender V4.3
|
#include <scoped_ptr.h>
Public Member Functions | |
| scoped_ptr (T *resource) | |
| ~scoped_ptr () | |
| T * | get () const |
| T * | operator-> () const |
| T & | operator* () const |
| void | reset (T *new_resource) |
| T * | release () |
A handle for a heap-allocated resource that should be freed when it goes out of scope. This looks similar to the one found in TR1.
Definition at line 34 of file scoped_ptr.h.
|
inline |
Definition at line 36 of file scoped_ptr.h.
|
inline |
Definition at line 37 of file scoped_ptr.h.
References reset().
|
inline |
Definition at line 39 of file scoped_ptr.h.
|
inline |
Definition at line 41 of file scoped_ptr.h.
|
inline |
Definition at line 40 of file scoped_ptr.h.
|
inline |
Definition at line 50 of file scoped_ptr.h.
|
inline |
Definition at line 43 of file scoped_ptr.h.