scoped_array< T > Class Template Reference

#include <utility.h>

Inheritance diagram for scoped_array< T >:
Inheritance graph
[legend]
Collaboration diagram for scoped_array< T >:
Collaboration graph
[legend]

List of all members.

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)

template<typename T>
class scoped_array< T >


Constructor & Destructor Documentation

template<typename T>
scoped_array< T >::scoped_array ( T *  p = 0  )  [inline, explicit]
template<typename T>
scoped_array< T >::~scoped_array (  )  [inline]

Member Function Documentation

template<typename T>
T* scoped_array< T >::get (  )  const [inline]

Referenced by find_nearest_line().

template<typename T>
T& scoped_array< T >::operator[] ( std::ptrdiff_t  i  )  const [inline]
template<typename T>
void scoped_array< T >::reset ( T *  p = 0  )  [inline]
template<typename T>
void scoped_array< T >::swap ( scoped_array< T > &  sp  )  [inline]

The documentation for this class was generated from the following file:

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1