8 #ifndef BOOSTER_CLONE_PTR_H 9 #define BOOSTER_CLONE_PTR_H 39 ptr_=other.ptr_->clone();
53 T *
get()
const {
return ptr_; }
54 T &operator *()
const {
return *ptr_; }
55 T *operator->()
const {
return ptr_; }
57 T *release() { T *tmp=ptr_; ptr_=0;
return tmp; }
a smart pointer similar to std::unique_ptr but it clones (by calling T::clone()) underlying object on...
Definition: clone_ptr.h:18
Booster library namespace. The library that implements Boost Like API in ABI backward compatible way...
Definition: application.h:23