const 修饰this指针

this指针的本质就是一个常量指针。通过const修饰this指针指向的内存空间。

void OpVar(int a  ,int b )const  <=>const void OpVar(int a  ,int b ) <=>void const  OpVar(int a  ,int b )

原文地址:https://www.cnblogs.com/jefy/p/9404152.html