C++17 in PIM

Daniel Vrátil dvratil at kde.org
Tue Mar 24 09:55:21 GMT 2020


Hi all,

any objection to using C++17 in KDE PIM?

I'm not saying we should go and flip the switch in the entire PIM - it makes no 
sense to do so if we don't use any of the language features anywhere. On the 
other hand I think we should not be constraining ourselves to C++11 (or even 
14) unnecesarily. If one needs a feature from C++17 while fixing a bug or 
implementing a feature, they should just be able to flip the switch in the 
repo. Our codebase contains a lot of legacy (== C++98+auto) code, opening 
doors to modern language features can only benefit us and make PIM more 
attractive for new contributors.

If there are no objections, I'd like to start by switching Akonadi to C++17 
(because oh boy, I just want my structured bindings! :)

/Dan

-- 
Daniel Vrátil
www.dvratil.cz | dvratil at kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde)

GPG Key: 0x4D69557AECB13683
Fingerprint: 0ABD FA55 A4E6 BEA9 9A83 EA97 4D69 557A ECB1 3683
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200324/1caa8be5/attachment.sig>


More information about the kde-pim mailing list