COIN-OR::LEMON - Graph Library

Changes in / [44:7bbd94715db5:42:3a98515e9bc3] in lemon-main


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/maps.h

    r44 r42  
    116116
    117117    template<typename T1>
     118    struct rebind {
     119      typedef ConstMap<K, T1> other;
     120    };
     121
     122    template<typename T1>
    118123    ConstMap(const ConstMap<K, T1> &, const T &_v) : v(_v) {}
    119124  };
     
    239244    }   
    240245
     246    template <typename T1, typename C1 = std::less<T1> >
     247    struct rebind {
     248      typedef StdMap<Key, T1, C1> other;
     249    };
    241250  };
    242251
     
    384393  ///Simple wrapping of a map
    385394
    386   ///This \ref concepts::ReadMap "read only map" returns the simple
     395  ///This \c concepts::ReadMap "read only map" returns the simple
    387396  ///wrapping of the given map. Sometimes the reference maps cannot be
    388397  ///combined with simple read maps. This map adaptor wraps the given
     
    407416  };
    408417
    409   ///Simple writable wrapping of a map
    410 
    411   ///This \ref concepts::WriteMap "write map" returns the simple
     418  ///Simple writable wrapping of the map
     419
     420  ///This \c concepts::WriteMap "write map" returns the simple
    412421  ///wrapping of the given map. Sometimes the reference maps cannot be
    413422  ///combined with simple read-write maps. This map adaptor wraps the
     
    15451554    }
    15461555
    1547     /// The \c set function of the map
     1556    /// Setter function of the map
    15481557    void set(const Key& key, Value value) {
    15491558      if (value) {
Note: See TracChangeset for help on using the changeset viewer.