Re: [osg-users] Fix for building with ref_ptr::get()

2013-02-05 Thread Daniel Trstenjak
Hi Ulrich, PS: On a related note: how do you folks feel about slowly starting to adopt C++11 features? Unfortunately there're a lot of guys out there - myself included - that need to support older compiler versions. So I won't be able to use C++11 in the foreseeable future. Greetings,

Re: [osg-users] Fix for building with ref_ptr::get()

2013-02-05 Thread Mathias Fröhlich
Hi, On Tuesday, February 05, 2013 10:48:19 Ulrich Hertlein wrote: PS: On a related note: how do you folks feel about slowly starting to adopt C++11 features? I feel like a kid in a candy store with all the new stuff that has come along! :-D ___

Re: [osg-users] Fix for building with ref_ptr::get()

2013-02-05 Thread Robert Osfield
Hi Ulrich, On 4 February 2013 23:48, Ulrich Hertlein u.hertl...@sandbox.de wrote: I have never changed the CMake variable (having only vaguely been aware of it), but have always used 'source.get()' in my own code. Following the mantra 'explicit is better than implicit' I would like to

Re: [osg-users] Fix for building with ref_ptr::get()

2013-02-05 Thread Paul Martz
(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

Re: [osg-users] Fix for building with ref_ptr::get()

2013-02-05 Thread Nathan Mielcarek
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

Re: [osg-users] Fix for building with ref_ptr::get()

2013-02-05 Thread Paul Martz
On 2/5/2013 1:32 PM, Nathan Mielcarek wrote: 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

Re: [osg-users] Fix for building with ref_ptr::get()

2013-02-04 Thread Paul Martz
Sorry; I cross-posted this to osg-users but forgot to mention why. I wanted to start a discussion on the CMake variable OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION. Does anyone else besides me change this variable from its default ON state to OFF? If not, should we just remove it? The reason

Re: [osg-users] Fix for building with ref_ptr::get()

2013-02-04 Thread Paul
Ah ... don't you just love Cmake. :/ Paul Martz pma...@skew-matrix.com wrote: Sorry; I cross-posted this to osg-users but forgot to mention why. I wanted to start a discussion on the CMake variable OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION. Does anyone else besides me change this variable

Re: [osg-users] Fix for building with ref_ptr::get()

2013-02-04 Thread Ulrich Hertlein
Hi Paul, On 5/02/13 8:40, Paul Martz wrote: I wanted to start a discussion on the CMake variable OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION. Does anyone else besides me change this variable from its default ON state to OFF? If not, should we just remove it? The reason I ask is that it