On 14-10-2013 0:00, Jon Cruz wrote:
On Oct 4, 2013, at 3:34 PM, Krzysztof KosiĆski wrote:
2013/10/5 Martin Owens <doctormo@...400...>:
So I can go through our code base and remove all the loops that use end() in their evaluations? Because I've always hated those.
Do you want to replace them with C++11 range-based for, or with a declared iterator before the loop?
I'd opt for the 1st solution, but in that case it might be wise to wait until 0.49 before we start requiring a C++11 compiler.
Actually we might need to wait a little longer on C++ requirements.
And more specifically, we need to do a breakdown of C++ features to use. Different versions of different compilers have different subsets implemented. Just in the last week or so I hit a difference in some implementation behavior with the gcc in certain Debian versions.
I am very excited about C++11, and hope we can start using it ASAP. Even a small subset would already be awesome.
I started a page on our wiki http://wiki.inkscape.org/wiki/index.php/C%2B%2B11 to keep track of what new features are safe to use.
Thanks for helping out tinkering on that page!
Cheers, Johan