src/lemon/map_iterator.h
changeset 1283 fc20371677b9
parent 1267 a93f94dbe3d3
equal deleted inserted replaced
3:f5725184e6f3 4:0b1ebebca57b
   620 
   620 
   621   public:
   621   public:
   622 
   622 
   623     /// The map initialized const value set.
   623     /// The map initialized const value set.
   624     MapValueSet(const Graph& _graph, Map& _map) 
   624     MapValueSet(const Graph& _graph, Map& _map) 
   625       : graph(&_graph), map(&_map) {}
   625       : map(&_map), graph(&_graph) {}
   626 
   626 
   627     /// The const iterator of the set.
   627     /// The const iterator of the set.
   628     typedef MapValueIterator<_Graph, _Item, _Map> Iterator;
   628     typedef MapValueIterator<_Graph, _Item, _Map> Iterator;
   629     /// The const iterator of the set.
   629     /// The const iterator of the set.
   630     typedef MapConstValueIterator<_Graph, _Item, _Map> ConstIterator;
   630     typedef MapConstValueIterator<_Graph, _Item, _Map> ConstIterator;