Implemenation of smart pointers with "deep cloning" semantics. More...
Go to the source code of this file.
Classes | |
class | deep_clone< X > |
Deep copy: initialize with clone. More... | |
class | shallow_clone< X > |
Shallow copy: initialize with copy constructor. More... | |
Macros | |
#define | CLONED_PTR_TEMPLATE_MEMBERS(CLONED_PTR_TYPE) |
#define | CLONED_PTR_DECLARE(CLONED_PTR_TYPE, CLONED_PTR_INIT) |
Implemenation of smart pointers with "deep cloning" semantics.
Based (loosely) on code from
#define CLONED_PTR_TEMPLATE_MEMBERS | ( | CLONED_PTR_TYPE | ) |