cka*_*ain 7 c++ qt this
我正在浏览Qt资源,并注意到了这一点
QUuid &operator=(const GUID &guid) { *this = QUuid(guid); return *this; }
我以前从没见过"这个"的作业.赋予"this"的作用是什么?
Dav*_*eas 15
这不是对this指向的对象的赋值this.这将有效地调用operator=( QUuid const & )当前对象.
this
operator=( QUuid const & )
归档时间:
15 年,10 月 前
查看次数:
2766 次
最近记录: