我想知道如果
*this = *that
将对'this‘进行逐位赋值,或者调用'this’类的赋值运算符。
谢谢!
发布于 2012-04-19 12:55:44
它调用赋值运算符,如this->operator=(*that);。
this->operator=(*that);
https://stackoverflow.com/questions/10221842
相似问题