scoped_ptr< T > Class Template Reference

#include <utility.h>

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

List of all members.

Public Member Functions

 scoped_ptr (T *p=0)
 ~scoped_ptr ()
void reset (T *p=0)
T & operator* () const
T * operator-> () const
T * get () const
void swap (scoped_ptr &sp)

template<typename T>
class scoped_ptr< T >


Constructor & Destructor Documentation

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

Member Function Documentation

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

Referenced by profile_t::empty().

template<typename T>
T& scoped_ptr< T >::operator* (  )  const [inline]
template<typename T>
T* scoped_ptr< T >::operator-> (  )  const [inline]
template<typename T>
void scoped_ptr< T >::reset ( T *  p = 0  )  [inline]
template<typename T>
void scoped_ptr< T >::swap ( scoped_ptr< 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