> Yes, everything derived from osg::Referenced should have its > destructor protected, which ensures such an object cannot be > created on the stack. See the ref_ptr tutorial.
There are a few exceptions to this rule. NodeVisitor, for one, derives from Referenced but declares its destructor as public. -Paul _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

