delete this 是可行的,并且不会造成内存泄漏,只是使用时要十分小心。 1)delete后不能再访问类成员。 2)类必须是new出来的。 3)delete this不能写在析构函数中,会造成死循环调用。