c++ - Implicit this parameter in GDB -


i'm using clion. how see value of this parameter in gdb? isn't in "variables" section now. i've tried print using "evaluate expression", didn't me, printed {void (my_class * const)} 0x7fff5fbff298.

also, can explain why happening?

well, technically, this pointer object owns it, should regular pointer address points class. it's nothing special.

now, once dereference pointer, referring actual object. should try referencing *this when want print out actual object.


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -