[osg-users] META_object macro returning osg::Object* for cloneType and clone

Julien Valentin julienvalentin51 at gmail.com
Sat Nov 25 19:43:07 PST 2017


mp3butcher wrote:
> 
> Hi
> Indeed, but i don't see the point...
> I've never used this C++ feature..For me an interface should always be respected as a generate contract in a framewrok..
> Perhaps Robert will tell you more
> Cheers
> 
> hartwigw wrote:
> > Hi,
> > 
> > yes and no, you can change the return type though.
> > 
> > 
> > Cheers,
> > Hartwig
> 


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







More information about the osg-users mailing list