31 Cursor<T>::operator -=(int j)
39 Cursor<T>::operator +=(int j)
48 Cursor<T>::operator +(int i) const
63 Cursor<T>::operator -(int i) const
75 warning: can't use Cursor::operator == (Cursor),
76 since it uses Cursor::operator-(Cursor)
80 Cursor<T>::operator-(Cursor<T> rhs) const
82 assert (rhs.list == list);
85 // search from *this on further up (positive difference)
87 while (c.ok() && c.pointer_ != rhs.pointer_)
94 goto gotcha; // so, sue me.
96 // search in direction of bottom. (negative diff)
99 while (c.ok() && c.pointer_ !=rhs.pointer_)
107 assert ((*this - dif).pointer_ == c.pointer_);