# HG changeset patch # User Alpar Juttner # Date 1199731458 -3600 # Node ID 7bbd94715db50c9020c6bfbcce7efc61a96f7c92 # Parent 3a98515e9bc3b2006604d5e5eca3ade265e77e5c# Parent 17e76967c49f557ba34863ad5b79a4d0f68d131c Merge diff -r 3a98515e9bc3 -r 7bbd94715db5 lemon/maps.h --- a/lemon/maps.h Mon Jan 07 19:27:17 2008 +0100 +++ b/lemon/maps.h Mon Jan 07 19:44:18 2008 +0100 @@ -115,11 +115,6 @@ } template - struct rebind { - typedef ConstMap other; - }; - - template ConstMap(const ConstMap &, const T &_v) : v(_v) {} }; @@ -243,10 +238,6 @@ _map.clear(); } - template > - struct rebind { - typedef StdMap other; - }; }; /// \brief Map for storing values for keys from the range [0..size-1] @@ -392,7 +383,7 @@ ///Simple wrapping of a map - ///This \c concepts::ReadMap "read only map" returns the simple + ///This \ref concepts::ReadMap "read only map" returns the simple ///wrapping of the given map. Sometimes the reference maps cannot be ///combined with simple read maps. This map adaptor wraps the given ///map to simple read map. @@ -415,9 +406,9 @@ Value operator[](Key k) const {return m[k];} }; - ///Simple writable wrapping of the map + ///Simple writable wrapping of a map - ///This \c concepts::WriteMap "write map" returns the simple + ///This \ref concepts::WriteMap "write map" returns the simple ///wrapping of the given map. Sometimes the reference maps cannot be ///combined with simple read-write maps. This map adaptor wraps the ///given map to simple read-write map. @@ -1553,7 +1544,7 @@ return counter; } - /// Setter function of the map + /// The \c set function of the map void set(const Key& key, Value value) { if (value) { map.set(key, counter++);