admin管理员组文章数量:1344570
In C++, this
is a pointer which refers to the current object/instance. Inside every member function, the this
keyword is a pointer that holds the address of the current implicit object.
But, I am very curious: How does C++ set the this
keyword? Like, how is it defined in C++? How does C++ determine the appropriate object for the this
pointer?
本文标签: How is the 39this39 keyword set in CStack Overflow
版权声明:本文标题:How is the 'this' keyword set in C++? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743743042a2531247.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论