a smart pointer similar to std::auto_ptr but it is non-copyable and underlying object has same constness as the pointer itself (not like in ordinary pointer). More...
#include <booster/booster/hold_ptr.h>
Public Member Functions | |
| hold_ptr (T *v) | |
| T const * | get () const |
| T * | get () |
| T const & | operator* () const |
| T & | operator* () |
| T const * | operator-> () const |
| T * | operator-> () |
| T * | release () |
| void | reset (T *p=0) |
| void | swap (hold_ptr &other) |
a smart pointer similar to std::auto_ptr but it is non-copyable and underlying object has same constness as the pointer itself (not like in ordinary pointer).
1.7.1