lemon/bits/map_iterator.h
changeset 1719 674182524bd9
parent 1587 8f1c317ebeb4
     1.1 --- a/lemon/bits/map_iterator.h	Fri Oct 14 10:44:49 2005 +0000
     1.2 +++ b/lemon/bits/map_iterator.h	Fri Oct 14 10:48:34 2005 +0000
     1.3 @@ -104,8 +104,8 @@
     1.4  
     1.5      typedef typename Parent::ItemIt ItemIt;
     1.6  
     1.7 -    typedef typename ReferenceMapTraits<_Map>::Value MapValue;
     1.8 -    typedef typename ReferenceMapTraits<_Map>::Reference MapReference;
     1.9 +    typedef typename _Map::Value MapValue;
    1.10 +    typedef typename _Map::Reference MapReference;
    1.11      
    1.12    public:
    1.13  
    1.14 @@ -194,9 +194,8 @@
    1.15  
    1.16      typedef typename Parent::ItemIt ItemIt;
    1.17  
    1.18 -    typedef typename ReferenceMapTraits<_Map>::Value MapValue;
    1.19 -    typedef typename ReferenceMapTraits<_Map>::ConstReference
    1.20 -    MapReference;
    1.21 +    typedef typename _Map::Value MapValue;
    1.22 +    typedef typename _Map::ConstReference MapReference;
    1.23      
    1.24    public:
    1.25  
    1.26 @@ -353,11 +352,11 @@
    1.27      typedef typename Parent::ItemIt ItemIt;
    1.28  
    1.29      /// The value type of the iterator.
    1.30 -    typedef typename ReferenceMapTraits<Map>::Value MapValue;
    1.31 +    typedef typename Map::Value MapValue;
    1.32      /// The reference type of the iterator.
    1.33 -    typedef typename ReferenceMapTraits<Map>::Reference MapReference;
    1.34 +    typedef typename Map::Reference MapReference;
    1.35      /// The pointer type of the iterator.
    1.36 -    typedef typename ReferenceMapTraits<Map>::Pointer MapPointer;
    1.37 +    typedef typename Map::Pointer MapPointer;
    1.38  
    1.39    public:
    1.40  
    1.41 @@ -433,11 +432,11 @@
    1.42      typedef typename Parent::ItemIt ItemIt;
    1.43  
    1.44      /// The value type of the iterator.
    1.45 -    typedef typename ReferenceMapTraits<Map>::Value MapValue;
    1.46 +    typedef typename Map::Value MapValue;
    1.47      /// The reference type of the iterator.
    1.48 -    typedef typename ReferenceMapTraits<Map>::ConstReference MapReference;
    1.49 +    typedef typename Map::ConstReference MapReference;
    1.50      /// The pointer type of the iterator.
    1.51 -    typedef typename ReferenceMapTraits<Map>::ConstPointer MapPointer;
    1.52 +    typedef typename Map::ConstPointer MapPointer;
    1.53  
    1.54    public:
    1.55