Some time ago, I wrote a post about integrating Qt’s associative containers with the fancy new C++ features, range-based for loops with structured bindings. That post inspired KDAB’s own Giuseppe D’Angelo to add the asKeyValueRange member function to both QHash and QMap. Now it’s possible to iterate over them with a simple range-based for loop, […]
Author Archives: Ivan Čukić
Qt, range-based for loops and structured bindings Part 1
Qt has a long history. The first stable version was released before the first version of C++ was standardized and long before the different C++ compiler vendors started shipping usable implementations of the C++ standard library. Because of this, Qt often followed (and still follows) some design idioms that feel unnatural to the usual C++ […]
KDAB at C++ Russia, Saint Petersburg Oct 31 - Nov 1
C++ Russia is the premier C++ conference in East Europe which alternates between Moscow and Saint Petersburg. The conference lasts for two days starting October 31st. It will be held in the Park Inn by Radisson Pulkovskaya Hotel in the heart of Saint Petersburg. This year, the speaker line-up is quite impressive and includes names […]