[osg-users] Inherithance from osg::referenced

Philippe Renon philippe_renon at yahoo.fr
Mon Jul 11 15:06:57 PDT 2016


I never had to create a class that inherits from osg::Referenced but what i gather is that it puts a contract on your class (copy semantics, etc...).

It should be pretty much the same for any osg::Referenced derived class except in some exotic cases. So any osg::Referenced class should provide the needed code.

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








More information about the osg-users mailing list