Hi there, i am wonder whether it is safe to put ref_ptr objects to a std container. sometimes i want to keep a list of nodes and process them later, and also i do not want these nodes be released before be processed . so i put them in a vector<ref_ptr<Node>> or list<ref_ptr<Node>>. also,because i use Qt as GUI library, sometimes i put it in a QList<ref_ptr<Node>> . Are these safe ways to use ref_ptr ?
Regards, Abe. Zhu
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org