#include <p6scopedarray.h>
Public Types | |
| typedef T | element_type |
Public Member Functions | |
| T * | get () const |
| operator T * () | |
| p6ScopedArray (T *ptr=0) | |
| T * | release () |
| void | reset (T *p=0) |
| P6VOID | swap (p6ScopedArray &b) |
| ~p6ScopedArray () | |
A simple smart pointer that stores a pointer to an dynamically allocated array (allocated via new) and guarantees deletion on destruction or when the reset() method is called.
Definition at line 34 of file p6scopedarray.h.