[osg-users] osg::observer_ptr and osg::ref_ptr

Kristofer Krus kristofer.krus at liu.se
Tue Oct 23 04:54:44 PDT 2018


Hi Robert,

Ah, that's clever. So the observer_ptr basically acts like ref_ptr when it comes to the ObserverSet object and deletes that object when the last observer_ptr object is destructed? :D 

Cheers!

Kristofer

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75109#75109







More information about the osg-users mailing list