[Lemon-commits] [lemon_svn] alpar: r76 - hugo/trunk/src/work/alpar

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:37:10 CET 2006


Author: alpar
Date: Wed Feb  4 15:36:46 2004
New Revision: 76

Modified:
   hugo/trunk/src/work/alpar/emptygraph.h

Log:
ValueType/KeyType is NodeMap/EdgeMap


Modified: hugo/trunk/src/work/alpar/emptygraph.h
==============================================================================
--- hugo/trunk/src/work/alpar/emptygraph.h	(original)
+++ hugo/trunk/src/work/alpar/emptygraph.h	Wed Feb  4 15:36:46 2004
@@ -58,7 +58,8 @@
   template<class T> class NodeMap
   {
   public:
-    typedef T value_type;
+    typedef T ValueType;
+    typedef NodeIt KeyType;
     void set(const NodeIt i, const T &t);
     T get(const NodeIt i) const;
     T &operator[](const NodeIt i);
@@ -69,7 +70,8 @@
   template<class T> class EdgeMap
   {
   public:
-    typedef T value_type;
+    typedef T ValueType;
+    typedef EdgeIt KeyType;
     void set(const EdgeIt i, const T &t);
     T get(const EdgeIt i) const;
     T &operator[](const EdgeIt i);



More information about the Lemon-commits mailing list