Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道如果
*this = *that
将对“that”按位赋值给“this”,或者调用“this”类的赋值运算符。
谢谢!
它调用赋值运算符,如this->operator=(*that);.
this->operator=(*that);