13 list_.remove( *this );
22 list_.remove( *this );
29 Cursor<T>::operator -=( int j )
37 Cursor<T>::operator +=( int j )
46 Cursor<T>::operator +( int i ) const
61 Cursor<T>::operator -( int i ) const
73 warning: can't use Cursor::operator == (Cursor),
74 since it uses Cursor::operator-(Cursor)
78 Cursor<T>::operator-(Cursor<T> rhs) const
80 assert(rhs.list == list);
83 // search from *this on further up (positive difference)
85 while (c.ok() && c.pointer_ != rhs.pointer_) {
91 goto gotcha; // so, sue me.
93 // search in direction of bottom. (negative diff)
96 while (c.ok() && c.pointer_ !=rhs.pointer_) {
103 assert((*this - dif).pointer_ == c.pointer_);