I have a lambda that captures "this". When I debug it I have trouble seeing members of the captures object: if I do a "p *this" I have:
((anonymous class)) $1 = {
this = 0x17ebb62c
}
So apparently I have the lambda's class that contain only one member, which is the "this" I have captured. Seems legit, so I tried " p this->this" and then I have this error:
error: expected unqualified-id
I fear that lldb is lost because this is both a keyword and a member of my anonymous class. Is that the case? What can i do to circumvent that?
Aucun commentaire:
Enregistrer un commentaire