A smart pointer for holding a dynamically allocated array. More...
#include <psimpl.h>
Public Member Functions | |
| T * | get () const |
| T & | operator[] (int offset) |
| const T & | operator[] (int offset) const |
| scoped_array (unsigned n) | |
| void | swap (scoped_array &b) |
| ~scoped_array () | |
Private Member Functions | |
| scoped_array & | operator= (const scoped_array &) |
| scoped_array (const scoped_array &) | |
Private Attributes | |
| T * | array |
A smart pointer for holding a dynamically allocated array.
Similar to boost::scoped_array.
|
inline |
|
inline |
|
private |
|
inline |
|
private |
|
inline |
|
inline |
|
inline |
|
private |