Hi all, This just came up at work a few days ago since I was confused why both assignment methods performed the same way.
I agree that the cmake option should be removed and set to a default to avoid confusion. I don't have a preference for that default since the changes needed to switch our code to either one should be minor. -Nathan On Tue, Feb 5, 2013 at 7:57 AM, Paul Martz <[email protected]> wrote: > (Please take C++11 discussion to another thread.) > > If no one is setting OSG_USE_REF_PTR_IMPLICIT_**OUTPUT_CONVERSION to OFF, > I'll submit a change that removes the variable (with the code behaving as > if the variable were present and set to ON). > > Here's some history on the ref_ptr issue: > > * In OSG 2.6.x and earlier, you always had to use ref_ptr::get() to access > the pointer address. (This is the same behavior you'd get today if you set > OSG_USE_REF_PTR_IMPLICIT_**OUTPUT_CONVERSION to the OFF value.) > > * Sometime in the 2.7 dev series, OSG_USE_REF_PTR_IMPLICIT_**OUTPUT_CONVERSION > was added with the default ON value, but there was consensus in osg-users > at that time that OSG itself should build with the variable set either way. > > * OSG 2.8.0 was the first stable release with > OSG_USE_REF_PTR_IMPLICIT_**OUTPUT_CONVERSION > (set to ON by default). > -Paul > > > > ______________________________**_________________ > osg-users mailing list > osg-users@lists.**openscenegraph.org <[email protected]> > http://lists.openscenegraph.**org/listinfo.cgi/osg-users-** > openscenegraph.org<http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org> >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

