|
OpenSDN source code
|
#include <util.h>
Public Member Functions | |
| custom_ptr (boost::function< void(T *)> deleter, T *ptr=0) | |
| ~custom_ptr () | |
| T * | get () const |
| T * | operator-> () const |
| void | reset (T *ptr=0) |
| T * | release () |
Private Attributes | |
| boost::function< void(T *)> | deleter_ |
| T * | ptr_ |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |