Changeset 335:999eb3cd7b49 in lemon-0.x for src/work/list_graph.h
- Timestamp:
- 04/16/04 10:26:00 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@454
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/list_graph.h
r309 r335 295 295 //void get_invalid(SymEdgeIt& e) { e=SymEdgeIt(); } 296 296 297 template< typename It >298 It first() const {299 It e;300 first(e);301 return e;302 }303 304 template< typename It >305 It first(Node v) const {306 It e;307 first(e, v);308 return e;309 }297 // template< typename It > 298 // It first() const { 299 // It e; 300 // first(e); 301 // return e; 302 // } 303 304 // template< typename It > 305 // It first(Node v) const { 306 // It e; 307 // first(e, v); 308 // return e; 309 // } 310 310 311 311 bool valid(Node n) const { return n.valid(); } … … 353 353 354 354 void clear() { 355 while (first<NodeIt>().valid()) erase(first<NodeIt>()); 355 NodeIt e; 356 while (this->valid(first(e))) erase(e); 357 //while (first<NodeIt>().valid()) erase(first<NodeIt>()); 356 358 } 357 359
Note: See TracChangeset
for help on using the changeset viewer.