Guess so. Is this SVN version? 2007/3/6, Serge Lages <[EMAIL PROTECTED]>:
Hi, On 3/6/07, Ivan Bolčina <[EMAIL PROTECTED]> wrote: > > Hi. > > I would need weak pointers in my app. OSG doesn't provide one. I heard > that I could transform OSG ref_ptr into boost::shared_ptr and I guess, from > then to boost::weak_ptr? Any ideas. > > I would use it like this: on my HUD I have a target, but when target > dies, I would like to automatically lose track of that target and target to > become NULL. > > Have you looked to observer_ptr ? I think it does what you want. -- Serge Lages http://www.magrathea-engine.org _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
