Marc Mutz posted today a blog calling for immediate support of C++11 in C++-based projects. He also linked to Herb Sutter’s blog saying the standard was unanimously approved in the ISO voting. In his blog, Marc calls for Qt 5 and KDE 5 to require C++11 in the compilers. I agree with the principle and …
Category Archive: C++
Sep 19
QUrl in Qt 5: encoding
One of the classes I used to maintain in Qt was QUrl and I had worked quite extensively with KUrl previously, so I knew what was wrong with the current API. And during the Contributor Summit in Berlin, I volunteered to rewrite QUrl, to add some features KUrl needed. I described the original goals of …
Aug 13
We have C++11
And who says Google Plus isn’t a source of news? I’ve just seen two posts linking to Herb Sutter’s blog, entitled: http://herbsutter.com/2011/08/12/we-have-an-international-standard-c0x-is-unanimously-approved/ So that’s it, ladies and gents. The standard that we’d been calling “C++0x” for some time now has been fully approved, unanimously no less. It now deserves to be called “C++11″, as the …
Jul 20
Table-driven methods with no relocations
The other day, someone in the qt-interest mailing list posted the link to an article entitled: How to make fewer errors at the stage of code writing, the third part in a series of articles about writing better code. In this particular article, the author ran a static code-checker tool on the Qt source code …
Jul 17
QString improved
On my birthday, I blogged about how I’d like QString to support proper UTF-8 strings and be much easier to use. The code that I said would be my preferred would be: QString s = u"Résumé"q; Recently, in Qt 5.0 we have begun to make steps to reach that. Most of the work was done …