COIN-OR::LEMON - Graph Library

Changeset 265:bf7aea53635a in lemon-0.x for src/work/list_graph.h


Ignore:
Timestamp:
03/30/04 15:37:21 (16 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@371
Message:

GraphWrappers?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/list_graph.h

    r260 r265  
    311311   
    312312    template <typename It> It getNext(It it) const {
    313       It tmp(it); return next(tmp); }
    314     template <typename It> It& next(It& it) const { return ++it; }
     313      It tmp(it); next(tmp); return tmp; }
     314//     NodeIt& next(NodeIt& it) const { return ++it; }
     315//     EdgeIt& next(EdgeIt& it) const { return ++it; }
     316//     OutEdgeIt& next(OutEdgeIt& it) const { return ++it; }
     317//     InEdgeIt& next(InEdgeIt& it) const { return ++it; }
     318//     SymEdgeIt& next(SymEdgeIt& it) const { return ++it; }
     319//    template <typename It> It& next(It& it) const { return ++it; }
     320    template <typename It> It& next(It& it) const { ++it; return it; }
    315321   
    316322
Note: See TracChangeset for help on using the changeset viewer.