Changes in / [44:7bbd94715db5:42:3a98515e9bc3] in lemon-main
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/maps.h
r44 r42 116 116 117 117 template<typename T1> 118 struct rebind { 119 typedef ConstMap<K, T1> other; 120 }; 121 122 template<typename T1> 118 123 ConstMap(const ConstMap<K, T1> &, const T &_v) : v(_v) {} 119 124 }; … … 239 244 } 240 245 246 template <typename T1, typename C1 = std::less<T1> > 247 struct rebind { 248 typedef StdMap<Key, T1, C1> other; 249 }; 241 250 }; 242 251 … … 384 393 ///Simple wrapping of a map 385 394 386 ///This \ refconcepts::ReadMap "read only map" returns the simple395 ///This \c concepts::ReadMap "read only map" returns the simple 387 396 ///wrapping of the given map. Sometimes the reference maps cannot be 388 397 ///combined with simple read maps. This map adaptor wraps the given … … 407 416 }; 408 417 409 ///Simple writable wrapping of amap410 411 ///This \ refconcepts::WriteMap "write map" returns the simple418 ///Simple writable wrapping of the map 419 420 ///This \c concepts::WriteMap "write map" returns the simple 412 421 ///wrapping of the given map. Sometimes the reference maps cannot be 413 422 ///combined with simple read-write maps. This map adaptor wraps the … … 1545 1554 } 1546 1555 1547 /// The \c setfunction of the map1556 /// Setter function of the map 1548 1557 void set(const Key& key, Value value) { 1549 1558 if (value) {
Note: See TracChangeset
for help on using the changeset viewer.