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