return *this 和 return this区别 return *this返回的是当前对象的克隆或者本身(若返回类型为A, 则是克隆, 若返回类型为A&, 则是本身 )。return this返回当前对象的地址(指向当前对象的指针) #include <iostream> using namespace std; class A { public: int x; //返回当前对象本身 A& get