123456789
struct Class { void A() {} // not const void B() const {} }; const Class object; object.A(); // ERROR object.B(); // OK