#include <scoped_array.hpp>
Public Types | |
typedef T | element_type |
Public Member Functions | |
scoped_array (T *p=0) | |
~scoped_array () | |
void | reset (T *p=0) |
T & | operator[] (std::ptrdiff_t i) const |
T * | get () const |
void | swap (scoped_array &b) |
Definition at line 8 of file scoped_array.hpp.
typedef T scoped_array< T >::element_type |
Definition at line 22 of file scoped_array.hpp.
scoped_array< T >::scoped_array | ( | T * | p = 0 |
) | [inline, explicit] |
Definition at line 24 of file scoped_array.hpp.
scoped_array< T >::~scoped_array | ( | ) | [inline] |
Definition at line 29 of file scoped_array.hpp.
void scoped_array< T >::reset | ( | T * | p = 0 |
) | [inline] |
Definition at line 34 of file scoped_array.hpp.
T& scoped_array< T >::operator[] | ( | std::ptrdiff_t | i | ) | const [inline] |
Definition at line 39 of file scoped_array.hpp.
T* scoped_array< T >::get | ( | ) | const [inline] |
Definition at line 44 of file scoped_array.hpp.
void scoped_array< T >::swap | ( | scoped_array< T > & | b | ) | [inline] |
Definition at line 49 of file scoped_array.hpp.