[cpp] Fix compiler error when creating closure-of-closure of this pointer.  Continues the hack that relies on name.