const
struct A { int a; bool f(int i) const { if (a = i) // error. f shouldn't modify a. return true; return false; } };