COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/maps.h

    r123 r104  
    117117
    118118    /// Constructor with specified initial value.
    119     /// \param v The initial value of the map.
     119    /// \param v is the initial value of the map.
    120120    ConstMap(const Value &v) : _value(v) {}
    121121
     
    142142  inline ConstMap<K, V> constMap(const V &v) {
    143143    return ConstMap<K, V>(v);
    144   }
    145 
    146   template<typename K, typename V>
    147   inline ConstMap<K, V> constMap() {
    148     return ConstMap<K, V>();
    149144  }
    150145
     
    619614           typename V = typename F::result_type>
    620615  class FunctorToMap : public MapBase<K, V> {
    621     F _f;
     616    const F &_f;
    622617  public:
    623618    typedef MapBase<K, V> Parent;
Note: See TracChangeset for help on using the changeset viewer.