8 #ifndef BOOSTER_HOLD_PTR_H 9 #define BOOSTER_HOLD_PTR_H 30 T
const *
get()
const {
return ptr_; }
31 T *
get() {
return ptr_; }
33 T
const &operator *()
const {
return *ptr_; }
34 T &operator *() {
return *ptr_; }
35 T
const *operator->()
const {
return ptr_; }
36 T *operator->() {
return ptr_; }
37 T *release() { T *tmp=ptr_; ptr_=0;
return tmp; }
a smart pointer similar to std::auto_ptr but it is non-copyable and underlying object has same constn...
Definition: hold_ptr.h:18
Booster library namespace. The library that implements Boost Like API in ABI backward compatible way...
Definition: application.h:23