|
Boost Users : |
From: Olivier Tournaire (olitour_at_[hidden])
Date: 2007-05-10 14:08:05
Hi all
Suppose I have two classes A and B like those ones :
class A
{
// ...
B *m_b;
};
class B
{
// ...
std::vector<A *> m_a;
};
m_b is used to know who is the parent of the object.
I would like to use smart pointers. How can I do this ?
Thanks in advance
-- Le temps des cerises reviendra. Dans l'immédiat, c'est le temps des noyaux. Courage.
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