这个指针
this 指针是 C++的关键字,因此不需要库来实现它。不要忘记 this 是一个指针! 所以你做不到:
this.someMember();
当你使用箭头符号 -> 从指针访问成员函数或成员变量时:
this->someMember();
其他有用的链接可以更好地理解 this 指针:
http://www.geeksforgeeks.org/this-pointer-in-c/
https://www.tutorialspoint.com/cplusplus/cpp_this_pointer.htm