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.