Dear all, I couldn't find functionality a la deep copy pointer in boost. Isn't this an idea to extend the smart_ptr library with it? Basically it has the same functionality as if the object was hold by value, but sometimes you want to dismiss the header file and only have a fwd decl: #include "bla.hpp" struct Foo { Bla m_Bla; }; deep copy: class Bla; //fwd decl. is sufficient { deepcpy_ptr<Bla> m_ptr; }; Or do I overlook something? Wkr, me
"gast128"
Dear all,
I couldn't find functionality a la deep copy pointer in boost. Isn't this an idea to extend the smart_ptr library with it?
There is policy_ptr component in review queue that definitely cower Deep copy semantic either. Gennadiy
participants (2)
-
gast128
-
Gennadiy Rozental