this指针随笔

在类中,非常量成员函数中,this指针为指向非常量的常量指针Class* this const 

在常量成员函数中,this指针为const class* this const,为指向常量的常量指针

原文地址:https://www.cnblogs.com/starfire86/p/5553053.html