14 list_.remove( *this );
24 list_.remove( *this );
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_) {
93 goto gotcha; // so, sue me.
95 // search in direction of bottom. (negative diff)
98 while (c.ok() && c.pointer_ !=rhs.pointer_) {
105 assert((*this - dif).pointer_ == c.pointer_);