Changes in lemon/bits/default_map.h [463:88ed40ad0d4f:674:20dac2104519] in lemon
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/default_map.h
r463 r674 20 20 #define LEMON_BITS_DEFAULT_MAP_H 21 21 22 #include <lemon/config.h> 22 23 #include <lemon/bits/array_map.h> 23 24 #include <lemon/bits/vector_map.h> … … 97 98 98 99 99 #if defined __GNUC__ && !defined __STRICT_ANSI__100 #if defined LEMON_HAVE_LONG_LONG 100 101 101 102 // long long … … 153 154 class DefaultMap 154 155 : public DefaultMapSelector<_Graph, _Item, _Value>::Map { 156 typedef typename DefaultMapSelector<_Graph, _Item, _Value>::Map Parent; 157 155 158 public: 156 typedef typename DefaultMapSelector<_Graph, _Item, _Value>::Map Parent;157 159 typedef DefaultMap<_Graph, _Item, _Value> Map; 158 159 typedef typename Parent::Graph Graph;160 161 typedef typename Parent::GraphType GraphType; 160 162 typedef typename Parent::Value Value; 161 163 162 explicit DefaultMap(const Graph & graph) : Parent(graph) {}163 DefaultMap(const Graph & graph, const Value& value)164 explicit DefaultMap(const GraphType& graph) : Parent(graph) {} 165 DefaultMap(const GraphType& graph, const Value& value) 164 166 : Parent(graph, value) {} 165 167
Note: See TracChangeset
for help on using the changeset viewer.