#include <scoped_ptr.hpp>
Public Member Functions | |
T * | get () const |
T * | operator-> () |
const T * | operator-> () const |
T * | release () |
void | reset (T *p=0) |
scoped_ptr () | |
scoped_ptr (T *p) | |
~scoped_ptr () | |
Private Member Functions | |
scoped_ptr & | operator= (const scoped_ptr &) |
scoped_ptr (const scoped_ptr &) | |
Private Attributes | |
T * | ptr_ |
Friends | |
void | swap (scoped_ptr< T > &a, scoped_ptr< T > &b) |
Definition at line 33 of file scoped_ptr.hpp.
|
inline |
Definition at line 40 of file scoped_ptr.hpp.
|
inlineexplicit |
Definition at line 41 of file scoped_ptr.hpp.
|
inline |
Definition at line 43 of file scoped_ptr.hpp.
|
private |
|
inline |
Definition at line 48 of file scoped_ptr.hpp.
|
inline |
Definition at line 45 of file scoped_ptr.hpp.
|
inline |
Definition at line 46 of file scoped_ptr.hpp.
|
private |
|
inline |
Definition at line 56 of file scoped_ptr.hpp.
|
inline |
Definition at line 50 of file scoped_ptr.hpp.
|
friend |
Definition at line 72 of file scoped_ptr.hpp.
|
private |
Definition at line 68 of file scoped_ptr.hpp.