Re: [osg-users] C++11 with OSG

2013-11-27 Thread Olaf Razzoli
...@lists.openscenegraph.org] On Behalf Of deniz diktas Sent: 26 November 2013 19:15 To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] C++11 with OSG Hi Judson, Thanks for the feedback. Well I thought it is always best to stick to the oldest compiler supporting basic C+11 features, which is vs2010. Even

Re: [osg-users] C++11 with OSG

2013-11-27 Thread deniz diktas
Hi Olaf, Thanks for the feedback. I did not know that C++11 features in VS2010 were buggy. My main concern is to use the most convenient features of C++11 (mainly: auto, range-based for-loops, lambdas, smart-pointers, unordered-maps) to ease coding. It is so easy to use auto, sometimes I loose

Re: [osg-users] C++11 with OSG

2013-11-26 Thread Judson Weissert
Hi deniz, I am not sure how you came to that conclusion. I suggest upgrading to VS2013 as soon as possible, and test your application with it. You can set policy to support older, non-c++11 compliant compilers if you wish, but that decision should not prevent you from moving to new compilers

Re: [osg-users] C++11 with OSG

2013-11-26 Thread deniz diktas
Hi Judson, Thanks for the feedback. Well I thought it is always best to stick to the oldest compiler supporting basic C+11 features, which is vs2010. Even if I am able to support older compilers, the code should be compiled in those older ones, which means I cannot use say range-based

Re: [osg-users] C++11 with OSG

2013-11-22 Thread deniz diktas
Hi Sebastian, Yes, I have to admit that my question was not clear enough. Actually I meant using C++11 in osg-based apps. The reason I asked is that I would like to write a high-level rendering engine based on osg (to be distributed to many users) and I was not sure if I should directly use

Re: [osg-users] C++11 with OSG

2013-11-22 Thread Sebastian Messerschmidt
Am 22.11.2013 10:23, schrieb deniz diktas: Hi Sebastian, Yes, I have to admit that my question was not clear enough. Actually I meant using C++11 in osg-based apps. The reason I asked is that I would like to write a high-level rendering engine based on osg (to be distributed to many users)

Re: [osg-users] C++11 with OSG

2013-11-22 Thread Olaf Razzoli
- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of deniz diktas Sent: 22 November 2013 09:23 To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] C++11 with OSG Hi Sebastian, Yes, I have to admit that my question

Re: [osg-users] C++11 with OSG

2013-11-22 Thread deniz diktas
Thank you guys, This is helpful, I can see it is best to stick to vs2010 and use boost for missing c++11 features, which I have been doing in my regular work anyway. Good to see we are on the same page here. Any other opinions or suggestions are welcome. -deniz -- Read this

Re: [osg-users] C++11 with OSG

2013-11-22 Thread Sebastian Messerschmidt
Deniz, What do you mean? I've been using Visual Studio 2010, which has some major parts for C++11 integrated with OSG. Lambdas, move etc. are just working fine. I would not recommend to move the OSG core to c++11 too soon, as right now there is a great variety of compiler targets for OSG. And

[osg-users] C++11 with OSG

2013-11-21 Thread deniz diktas
Hi, Just wondering how many of you use C++11 with OSG and what you think about it. Thank you! Cheers, deniz -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57376#57376 ___ osg-users mailing list