[BGL] Automatic cleanning in the graph.

Hi everyone Is there a possibility to build a graph which nodes are automatically deleted when in the users code there is no reference to them? Maybe something that combines smart pointers and a graphs? Regards. -- |\/\/| Seweryn Habdank-Wojewódzki `\/\/

On Jun 24, 2006, at 12:52 AM, Seweryn Habdank-Wojewódzki wrote:
Hi everyone
Is there a possibility to build a graph which nodes are automatically deleted when in the users code there is no reference to them?
Maybe something that combines smart pointers and a graphs?
We don't have a graph type like that in the BGL, but it should be quite easy to create one. If nothing else, vertex descriptors could be smart pointers, and the values they point to store the in- and out- edge lists. Doug
participants (2)
-
Doug Gregor
-
Seweryn Habdank-Wojewódzki