[cpp] Add STACK_THIS to constructor (thanks zobo)