8 #ifndef BOOSTER_LOCALE_HOLD_PTR_H 9 #define BOOSTER_LOCALE_HOLD_PTR_H 42 T
const *
get()
const {
return ptr_; }
46 T *
get() {
return ptr_; }
68 T *
release() { T *tmp=ptr_; ptr_=0;
return tmp; }
void reset(T *p=0)
Definition: hold_ptr.h:73
hold_ptr(T *v)
Definition: hold_ptr.h:29
T * release()
Definition: hold_ptr.h:68
a smart pointer similar to std::auto_ptr but it is non-copyable and the underlying object has the sam...
Definition: hold_ptr.h:18
void swap(hold_ptr &other)
Swap two pointers.
Definition: hold_ptr.h:79
T * operator->()
Definition: hold_ptr.h:63
This is the main namespace that encloses all localization classes.
Definition: locale_fwd.h:14
T const & operator*() const
Definition: hold_ptr.h:51
T const * operator->() const
Definition: hold_ptr.h:59
Booster library namespace. The library that implements Boost Like API in ABI backward compatible way...
Definition: application.h:23
hold_ptr()
Definition: hold_ptr.h:25
~hold_ptr()
Definition: hold_ptr.h:34