![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Out version of the std auto_ptr implementation base either on auto_ptr or unique_ptr. More...
#include <Memory.h>
Public Types | |
| typedef std::unique_ptr< T > | base_t |
Public Member Functions | |
| dd4hep_ptr () | |
| Default Constructor. More... | |
| dd4hep_ptr (T *p) | |
| Constructor from pointer. More... | |
| dd4hep_ptr (base_t &c) | |
| Constructor from copy. More... | |
| dd4hep_ptr & | operator= (base_t &c) |
| Assignment operator. More... | |
| dd4hep_ptr & | adopt (T *ptr) |
| Assignment operator. More... | |
Out version of the std auto_ptr implementation base either on auto_ptr or unique_ptr.
Only need to overload constructor. Everything else like operator->, operator*, get, release etc. comes from base.
| typedef std::unique_ptr<T> dd4hep::dd4hep_ptr< T >::base_t |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.18