#include <OwnIt.h>
Public Types | |
typedef OwnIt< T > | self |
Public Member Functions | |
T * | get () const |
self & | operator= (T *p) |
OwnIt (T *p=0) | |
void | reset () |
~OwnIt () | |
Private Attributes | |
T * | it |
a very very simple auto_ptr. if static get destrying at the end avoiding fake memory leaks...
|
inline |
Definition at line 15 of file OwnIt.h.
References OwnIt< T >::it.
Referenced by Options.Options::__getitem__().
|
inline |
Definition at line 16 of file OwnIt.h.
References OwnIt< T >::it.
Referenced by OwnIt< T >::~OwnIt().
|
private |
Definition at line 19 of file OwnIt.h.
Referenced by OwnIt< T >::get(), OwnIt< T >::operator=(), and OwnIt< T >::reset().