最近闲来无事,想了个好玩的就是c++的类的this指针可以判空么 于是我就写了个代码如下: #include <iostream> class a{ public: void sd(){ if (this == NULL){