[osg-submissions] osg::Object::clone

Liviu Nicoara nikkoara at gmail.com
Fri Jun 6 06:41:37 PDT 2008


> Jean-S?bastien Guay schrieb:
>
>> With the changes you have made, the following code will fail:
>>
>>> [...]
> To my knowledge, the code will fail because the c++compiler will call
> osg::Object::clone and not osg::Transform::clone because the function
> signatures differ (they return different types of objects).

IIUC your argument I must point out that in C++ the return type is  
not part of the function signature.

Liviu


More information about the osg-submissions mailing list