Changes in lemon/maps.h [123:8899d1891a3c:104:cdbba181b786] in lemon-1.2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/maps.h
r123 r104 117 117 118 118 /// Constructor with specified initial value. 119 /// \param v The initial value of the map.119 /// \param v is the initial value of the map. 120 120 ConstMap(const Value &v) : _value(v) {} 121 121 … … 142 142 inline ConstMap<K, V> constMap(const V &v) { 143 143 return ConstMap<K, V>(v); 144 }145 146 template<typename K, typename V>147 inline ConstMap<K, V> constMap() {148 return ConstMap<K, V>();149 144 } 150 145 … … 619 614 typename V = typename F::result_type> 620 615 class FunctorToMap : public MapBase<K, V> { 621 F_f;616 const F &_f; 622 617 public: 623 618 typedef MapBase<K, V> Parent;
Note: See TracChangeset
for help on using the changeset viewer.