COIN-OR::LEMON - Graph Library

Changeset 139:c76f1eea05d2 in lemon-0.x for src/work/list_graph.hh


Ignore:
Timestamp:
03/01/04 15:33:00 (17 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@193
Message:

next, getNext

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/list_graph.hh

    r134 r139  
    306306    bool valid(NodeIt n) const { return n.valid(); }
    307307   
    308     template <typename It> It next(It it) const {
    309       It tmp(it); return goNext(tmp); }
    310     template <typename It> It& goNext(It& it) const { return ++it; }
     308    template <typename It> It getNext(It it) const {
     309      It tmp(it); return next(tmp); }
     310    template <typename It> It& next(It& it) const { return ++it; }
    311311   
    312312
Note: See TracChangeset for help on using the changeset viewer.