The examples I have found that capture this
in a lambda use it explicitly; e.g.:
capturecomplete = [this](){this->calstage1done();};
But it seems it is also possible to use it implicitly; e.g.:
capturecomplete = [this](){calstage1done();};
I tested this in g++, and it compiled.
Is this standard C++? (and if so, which version), or is it some form of extension?