class ClassName { void foo() { // here `this` has `ClassName *` type } void bar() const { // here `this` has `const ClassName *` type } };