Hi all<br><br>Suppose I have two classes A and B like those ones :<br><br>class A<br>{<br>&nbsp;&nbsp; // ...<br>&nbsp;&nbsp; B *m_b;<br>};<br><br>class B<br>
{<br>
&nbsp;&nbsp; // ...<br>
&nbsp;&nbsp; std::vector&lt;A *&gt; m_a;<br>
};<br><br>m_b is used to know who is the parent of the object.<br><br>I would like to use smart pointers. How can I do this ?<br><br>Thanks in advance<br clear="all"><br>-- <br>Le temps des cerises reviendra. Dans l&#39;immédiat, c&#39;est le temps des noyaux. Courage.

