# HG changeset patch # User Peter Kovacs # Date 1199719479 -3600 # Node ID 17e76967c49f557ba34863ad5b79a4d0f68d131c # Parent 582c594ecd01aada452f306284849278ce908010 Removed ConstMap::rebind and StdMap::rebind + doc improvements. diff -r 582c594ecd01 -r 17e76967c49f lemon/maps.h --- a/lemon/maps.h Fri Jan 04 23:51:37 2008 +0100 +++ b/lemon/maps.h Mon Jan 07 16:24:39 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++);