最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How is the 'this' keyword set in C++? - Stack Overflow

programmeradmin0浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论