Const correctness class List { int length() const; void clear(); } length() method cannot modify object const reference cannot call non-const method const List &l; l.clear(); // not allowed