|
Boost Users : |
From: gast128 (gast128_at_[hidden])
Date: 2005-02-06 13:41:47
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net