#include <scoped_ptr.hpp>
Public Types | |
| typedef T | element_type |
Public Member Functions | |
| scoped_ptr (T *p=0) | |
| scoped_ptr (std::auto_ptr< T > p) | |
| ~scoped_ptr () | |
| void | reset (T *p=0) |
| T & | operator* () const |
| T * | operator-> () const |
| T * | get () const |
| void | swap (scoped_ptr &b) |
Definition at line 9 of file scoped_ptr.hpp.
| typedef T scoped_ptr< T >::element_type |
Definition at line 12 of file scoped_ptr.hpp.
| scoped_ptr< T >::scoped_ptr | ( | T * | p = 0 |
) | [inline, explicit] |
Definition at line 14 of file scoped_ptr.hpp.
| scoped_ptr< T >::scoped_ptr | ( | std::auto_ptr< T > | p | ) | [inline, explicit] |
Definition at line 18 of file scoped_ptr.hpp.
| scoped_ptr< T >::~scoped_ptr | ( | ) | [inline] |
Definition at line 22 of file scoped_ptr.hpp.
| void scoped_ptr< T >::reset | ( | T * | p = 0 |
) | [inline] |
Definition at line 28 of file scoped_ptr.hpp.
| T& scoped_ptr< T >::operator* | ( | ) | const [inline] |
Definition at line 34 of file scoped_ptr.hpp.
| T* scoped_ptr< T >::operator-> | ( | ) | const [inline] |
Definition at line 40 of file scoped_ptr.hpp.
| T* scoped_ptr< T >::get | ( | ) | const [inline] |
Definition at line 46 of file scoped_ptr.hpp.
| void scoped_ptr< T >::swap | ( | scoped_ptr< T > & | b | ) | [inline] |
Definition at line 51 of file scoped_ptr.hpp.
1.6.3