COIN-OR::LEMON - Graph Library

Changeset 724:d8073df341f6 in lemon-main for test


Ignore:
Timestamp:
09/25/09 12:22:42 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Rename ValueIterator? to ValueIt? in graph maps (#302)
but keep ValueIterator? as an alias in CrossRefMap?
(only for reverse compatibility).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/maps_test.cc

    r723 r724  
    527527    Graph gr;
    528528    typedef CrossRefMap<Graph, Node, char> CRMap;
    529     typedef CRMap::ValueIterator ValueIt;
    530529    CRMap map(gr);
    531530   
     
    547546          "Wrong CrossRefMap::count()");
    548547   
    549     ValueIt it = map.beginValue();
     548    CRMap::ValueIt it = map.beginValue();
    550549    check(*it++ == 'A' && *it++ == 'B' && *it++ == 'C' &&
    551550          it == map.endValue(), "Wrong value iterator");
     
    743742    }
    744743
    745     for (Ivm::ValueIterator vit = map1.beginValue();
     744    for (Ivm::ValueIt vit = map1.beginValue();
    746745         vit != map1.endValue(); ++vit) {
    747746      check(map1[static_cast<Item>(Ivm::ItemIt(map1, *vit))] == *vit,
    748             "Wrong ValueIterator");
     747            "Wrong ValueIt");
    749748    }
    750749
Note: See TracChangeset for help on using the changeset viewer.