Changeset 1999:2ff283124dfc in lemon0.x for lemon/bits/default_map.h
 Timestamp:
 03/06/06 11:28:37 (14 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@2609
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/bits/default_map.h
r1996 r1999 17 17 */ 18 18 19 #ifndef LEMON_ DEFAULT_MAP_H20 #define LEMON_ DEFAULT_MAP_H19 #ifndef LEMON_BITS_DEFAULT_MAP_H 20 #define LEMON_BITS_DEFAULT_MAP_H 21 21 22 22 23 23 #include <lemon/bits/array_map.h> 24 24 #include <lemon/bits/vector_map.h> 25 #include <lemon/bits/static_map.h>26 25 27 26 ///\ingroup graphbits 28 27 ///\file 29 ///\brief Graph maps that construct and destruct 30 ///their elements dynamically. 28 ///\brief Graph maps that construct and destruct their elements dynamically. 31 29 32 30 namespace lemon { … … 152 150 153 151 /// \e 154 template < 155 typename _Graph, 156 typename _Item, 157 typename _Value> 152 template <typename _Graph, typename _Item, typename _Value> 158 153 class DefaultMap 159 154 : public DefaultMapSelector<_Graph, _Item, _Value>::Map { … … 165 160 typedef typename Parent::Value Value; 166 161 167 DefaultMap(const Graph& _g) : Parent(_g) {} 168 DefaultMap(const Graph& _g, const Value& _v) : Parent(_g, _v) {} 162 DefaultMap(const Graph& graph) : Parent(graph) {} 163 DefaultMap(const Graph& graph, const Value& value) 164 : Parent(graph, value) {} 169 165 170 166 };
Note: See TracChangeset
for help on using the changeset viewer.