6 Feb
2005
6 Feb
'05
6:41 p.m.
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