赋值给*这个(*this = val)是什么?

cka*_*ain 7 c++ qt this

我正在浏览Qt资源,并注意到了这一点

QUuid &operator=(const GUID &guid)
{
    *this = QUuid(guid);
    return *this;
}
Run Code Online (Sandbox Code Playgroud)

我以前从没见过"这个"的作业.赋予"this"的作用是什么?

Dav*_*eas 15

这不是对this指向的对象的赋值this.这将有效地调用operator=( QUuid const & )当前对象.