Tag Archive: c++11

Jul 21

forkfd part 4: proposed solutions

Last week, I wrote three blogs about the situation with starting child processes on Unix and being notified of their exit. I raised several problems with the current implementation, which I have tried to solve and I have now a proposal for. If you haven’t yet, you should take some time to read the previous …

Continue reading »

Sep 20

C++11 support in Qt 5

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 …

Continue reading »

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 …

Continue reading »

Jul 25

Table-driven development, meet C++0x

Last week, I blogged about table-driven development without creating relocations in memory. One of the comments I received indicated that the code was hard to read — I concurred, of course, as it is generated code. Then Olivier looked at it and decided to have a go at making it entirely generated by the compiler, …

Continue reading »

Jul 21

Initialising an array with C++0x using constexpr and variadic templates

When I wrote the blog on improving QString further, I said: If you can, use the following C++0x expression, which is read-only and sharable: That above actually does work and does produce a read-only and sharable QStringData containing the UTF-16 “Hello, World\n” string. However, what I didn’t say (because I hadn’t realised at the time) …

Continue reading »

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 …

Continue reading »

Page optimized by WP Minify WordPress Plugin