Beispiel #1
0
 RingIterator<C> operator +(int i) {
   RingIterator<C> p;
   p.org = org;
   p.cur = &(cur->next());
   return p; 
 };
Beispiel #2
0
 C& first() { return ROOT.next(); };
Beispiel #3
0
 C& head() { return ROOT.next(); };
Beispiel #4
0
 bool empty() { return ( &(ROOT.next()) == &ROOT ); };
Beispiel #5
0
 RingIterator<C>& operator ++(int) { 
   cur = &(cur->next()); 
   return *this; 
 };