On Fri, Jun 27, 2014 at 09:03:54PM +0200, Tavmjong Bah wrote:
Hi,
I noticed a bunch of 'for' loops in Liam's code and that got me wondering about using C++11 in the experimental branch as 'auto' is so much nicer that "std::map<SPDocument*,int>::iterator iter". When can we start using C++11?
I noticed that http://wiki.inkscape.org/wiki/index.php/C%2B%2B11 only shows results for one Window's compiler. Is there a test program we can run? Fedora 20 is using GCC 4.8 and clang 3.4; both support 'auto' (GCC since 4.4).
One thing I'd recommend in general with the experimental branch is to avoid changes that will cause a lot of refactoring. The reason for this is that patches added to the branch later will be more work to port them to other branches (like bringing them back to main, once it's reopened for development).
Bryce