src/work/list_graph.hh
changeset 253 f45703336699
parent 139 c76f1eea05d2
equal deleted inserted replaced
13:a7c6da254cae 14:2f6661650e33
   300       It e;
   300       It e;
   301       getFirst(e, v);
   301       getFirst(e, v);
   302       return e; 
   302       return e; 
   303     }
   303     }
   304 
   304 
       
   305     bool valid(NodeIt n) const { return n.valid(); }
   305     bool valid(EdgeIt e) const { return e.valid(); }
   306     bool valid(EdgeIt e) const { return e.valid(); }
   306     bool valid(NodeIt n) const { return n.valid(); }
       
   307     
   307     
   308     template <typename It> It getNext(It it) const { 
   308     template <typename It> It getNext(It it) const { 
   309       It tmp(it); return next(tmp); }
   309       It tmp(it); return next(tmp); }
   310     template <typename It> It& next(It& it) const { return ++it; }
   310     template <typename It> It& next(It& it) const { return ++it; }
   311    
   311