Changes in lemon/bits/default_map.h [877:141f9c0db4a3:511:8a144437db7d] in lemon-main
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/default_map.h
r877 r511 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 105 * Copyright (C) 2003-2008 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 154 154 class DefaultMap 155 155 : public DefaultMapSelector<_Graph, _Item, _Value>::Map { 156 public: 156 157 typedef typename DefaultMapSelector<_Graph, _Item, _Value>::Map Parent; 157 158 public:159 158 typedef DefaultMap<_Graph, _Item, _Value> Map; 160 159 161 typedef typename Parent::Graph Type GraphType;160 typedef typename Parent::Graph Graph; 162 161 typedef typename Parent::Value Value; 163 162 164 explicit DefaultMap(const Graph Type& graph) : Parent(graph) {}165 DefaultMap(const Graph Type& graph, const Value& value)163 explicit DefaultMap(const Graph& graph) : Parent(graph) {} 164 DefaultMap(const Graph& graph, const Value& value) 166 165 : Parent(graph, value) {} 167 166
Note: See TracChangeset
for help on using the changeset viewer.