COIN-OR::LEMON - Graph Library

Changeset 86:cbd76005b9a7 in lemon-0.x


Ignore:
Timestamp:
02/17/04 12:23:00 (16 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@113
Message:

next, goNext

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/list_graph.hh

    r81 r86  
    303303    }
    304304
     305    bool valid(EdgeIt e) const { return e.valid(); }
     306    bool valid(NodeIt n) const { return n.valid(); }
     307   
     308    template <typename It> It next(It it) const {
     309      It tmp(it); return goNext(it); }
     310    template <typename It> It& goNext(It& it) const { return ++it; }
     311   
     312
    305313    /* for getting id's of graph objects */
    306314    /* these are important for the implementation of property vectors */
Note: See TracChangeset for help on using the changeset viewer.