I fully agree with you, but, sadly, I think it will not be possible in 5.x.
IMHO for the start  we should use C++11/14 in the QPA plugins when we know for 
sure that the compiler supports these features.E.g. I already used (stashed) 
some C++11 features in the Android QPA, but sometime I got -1s because I used 
them ...
Cheers,BogDan

     On Friday, February 20, 2015 12:53 PM, Daniel Teske 
<[email protected]> wrote:
   

 On Friday 20 Feb 2015 00:17:00 Mathias Hasselmann wrote:
> >>> [...]
> >>  [...]
> >  [...]
> [...]

I guess my point that the ranged based for loop and qt containers don't mix 
too well is now very much proven by the depth of this particular discussion.

The upcoming Ranges TS has also uses std::begin and std::end. That means that 
qt containers will require special care to use with that TS. 

That is Qt is in danger of being hard to use with modern C++ in this area. 

My point is, if we don't use C++11 ourselves we won't find out in which areas 
Qt and modern C++ don't mix, and we won't fix them. We will be stuck being a 
C++98 toolkit that is slowly getting obsolete. 

daniel
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development


   
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to