ValueType/KeyType is NodeMap/EdgeMap
authoralpar
Wed, 04 Feb 2004 14:36:46 +0000
changeset 6130e734e6adff
parent 60 89d2ce014e12
child 62 aa1700f78754
ValueType/KeyType is NodeMap/EdgeMap
src/work/alpar/emptygraph.h
     1.1 --- a/src/work/alpar/emptygraph.h	Wed Feb 04 12:59:17 2004 +0000
     1.2 +++ b/src/work/alpar/emptygraph.h	Wed Feb 04 14:36:46 2004 +0000
     1.3 @@ -58,7 +58,8 @@
     1.4    template<class T> class NodeMap
     1.5    {
     1.6    public:
     1.7 -    typedef T value_type;
     1.8 +    typedef T ValueType;
     1.9 +    typedef NodeIt KeyType;
    1.10      void set(const NodeIt i, const T &t);
    1.11      T get(const NodeIt i) const;
    1.12      T &operator[](const NodeIt i);
    1.13 @@ -69,7 +70,8 @@
    1.14    template<class T> class EdgeMap
    1.15    {
    1.16    public:
    1.17 -    typedef T value_type;
    1.18 +    typedef T ValueType;
    1.19 +    typedef EdgeIt KeyType;
    1.20      void set(const EdgeIt i, const T &t);
    1.21      T get(const EdgeIt i) const;
    1.22      T &operator[](const EdgeIt i);