C++11 support on Frameworks

Kevin Ottens ervin+bluesystems at kde.org
Mon Jun 24 09:36:39 UTC 2013


Hello,

On Sunday 23 June 2013 02:16:01 Luiz Romário Santana Rios wrote:
> I just started contributing to the Frameworks recently (I'm R_Rios on
> IRC) and I didn't finda thread about it in the ML archives, so I'll
> just ask it myself.
> 
> Will the Frameworks allow C++11? How much of it will be allowed? One
> example of its usefulness could be the replacement of foreach by
> range-based for loops where moc macros aren't allowed (I think tier1
> libraries don't allow it anymore, but I might be wrong, so please
> correct me if I'm wrong). It works in just the same way and it has the
> advantage of being an actual construct of the language, not a macro.
> 
> Any comments will be appreciated.

We're following the same trend than Qt there[1]. So we should be able to 
compile KF5 with no C++11 features available at all, but it's fine to give 
more features to people with a C++11 compiler provided it doesn't impact 
binary compatibility.

Regards.

[1] http://www.macieira.org/blog/2011/09/cxx11-support-in-qt-5/
-- 
Kévin Ottens, http://ervin.ipsquad.net

Sponsored by BlueSystems and KDAB to work on KDE Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130624/d9397611/attachment.sig>


More information about the Kde-frameworks-devel mailing list