Year: 2016

Leaky lambdas and self referencing shared pointers

After a bit of a debugging session, I ended up looking at some code in a large project

The connection gets removed when the pointer inside m_foo gets de-allocated by the shared_ptr. But the connection target is a lambda

Let Qt models meet std::vector<std::tuple<…>>

The problem So. I was stuck with a container of tuples that I wanted to see in a Qt view (QTableView, QtQuick ListView or similar). So how to do that? Another problem: I haven’t been doing fun things with templates

R is for Randa

This week I have been gathered with 38 KDE people in Randa, Switzerland. Randa is a place in a valley in the middle of the Alps close to various peaks like Matterhorn. It has been a week of intense hacking,

Randa day 0

Sitting on Lake Zurich and reflecting over things was a great way to get started. http://manifesta.org/2015/11/pavillon-of-reflections-for-zurich-in-2016/ After spending a bit of time in a train, I climbed part of a mountain together with Adriaan – up to the snow where

So close, but so far away

Compilers and error messages

So. I typo’ed up some template code the other day. And once again I learned the importance of using several c++ compilers. Here is a very reduced version of my code:

And let’s start with the compiler I was

Top