src/work/alpar/boolmap_iter.cc
changeset 987 87f7c54892df
parent 986 e997802b855c
child 1280 f2255b96c19c
     1.1 --- a/src/work/alpar/boolmap_iter.cc	Sat Nov 13 12:53:28 2004 +0000
     1.2 +++ b/src/work/alpar/boolmap_iter.cc	Sat Nov 13 17:07:10 2004 +0000
     1.3 @@ -13,8 +13,8 @@
     1.4    typedef GG Graph;
     1.5    typedef typename GG::Edge Edge;
     1.6    
     1.7 -  typedef Edge KeyType;
     1.8 -  typedef bool ValueType;
     1.9 +  typedef Edge Key;
    1.10 +  typedef bool Value;
    1.11    
    1.12    friend class RefType;
    1.13    friend class FalseIterator;
    1.14 @@ -67,12 +67,12 @@
    1.15    public:
    1.16      RefType(BoolIterEdgeMap &_M,Edge _e) : M(_M), e(_e) { }
    1.17      
    1.18 -    operator ValueType() const 
    1.19 +    operator Value() const 
    1.20      {
    1.21        return M.isTrue(e);
    1.22        
    1.23      }
    1.24 -    ValueType operator = (ValueType v) const
    1.25 +    Value operator = (Value v) const
    1.26      {
    1.27        if(v) M.setTrue(e); 
    1.28        else M.setFalse(e);