#include <utility.h>
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 &sp) |
Private Member Functions | |
scoped_array & | operator= (scoped_array const &) |
scoped_array (scoped_array const &) | |
Private Attributes | |
T * | p_ |
Definition at line 57 of file utility.h.
scoped_array< T >::scoped_array | ( | T * | p = 0 |
) | [inline, explicit] |
scoped_array< T >::~scoped_array | ( | ) | [inline] |
scoped_array< T >::scoped_array | ( | scoped_array< T > const & | ) | [private] |
T* scoped_array< T >::get | ( | ) | const [inline] |
Definition at line 70 of file utility.h.
Referenced by find_nearest_line().
scoped_array& scoped_array< T >::operator= | ( | scoped_array< T > const & | ) | [private] |
T& scoped_array< T >::operator[] | ( | std::ptrdiff_t | i | ) | const [inline] |
void scoped_array< T >::reset | ( | T * | p = 0 |
) | [inline] |
void scoped_array< T >::swap | ( | scoped_array< T > & | sp | ) | [inline] |
T* scoped_array< T >::p_ [private] |
Definition at line 81 of file utility.h.
Referenced by scoped_array< asymbol * >::get(), scoped_array< asymbol * >::operator[](), scoped_array< asymbol * >::reset(), scoped_array< asymbol * >::swap(), and scoped_array< asymbol * >::~scoped_array().