1.1 --- a/lemon/graph_utils.h Wed Nov 23 15:42:36 2005 +0000
1.2 +++ b/lemon/graph_utils.h Wed Nov 23 16:08:02 2005 +0000
1.3 @@ -443,8 +443,7 @@
1.4 ///
1.5 /// Copy the \c source map to the \c target map. It uses the given iterator
1.6 /// to iterate on the data structure.
1.7 - template <typename Target, typename Source,
1.8 - typename ItemIt>
1.9 + template <typename Target, typename Source, typename ItemIt>
1.10 void copyMap(Target& target, const Source& source, ItemIt it) {
1.11 for (; it != INVALID; ++it) {
1.12 target[it] = source[it];
1.13 @@ -888,14 +887,17 @@
1.14 /// and if a key is set to a new value then store it
1.15 /// in the inverse map.
1.16 /// \param _Graph The graph type.
1.17 - /// \param _Map The map to extend with invertable functionality.
1.18 + /// \param _Item The item type of the graph.
1.19 + /// \param _Value The value type of the map.
1.20 +#ifndef DOXYGEN
1.21 + /// \param _Map A ReadWriteMap mapping from the item type to integer.
1.22 template <
1.23 - typename _Graph,
1.24 - typename _Item,
1.25 - typename _Value,
1.26 - typename _Map
1.27 + typename _Graph, typename _Item, typename _Value, typename _Map
1.28 = typename ItemSetTraits<_Graph, _Item>::template Map<_Value>::Parent
1.29 >
1.30 +#else
1.31 + template <typename _Graph, typename _Item, typename _Value>
1.32 +#endif
1.33 class InvertableMap : protected _Map {
1.34
1.35 public:
1.36 @@ -1035,13 +1037,15 @@
1.37 /// \param _Graph The graph class the \c DescriptorMap belongs to.
1.38 /// \param _Item The Item is the Key of the Map. It may be Node, Edge or
1.39 /// UndirEdge.
1.40 +#ifndef DOXYGEN
1.41 /// \param _Map A ReadWriteMap mapping from the item type to integer.
1.42 template <
1.43 - typename _Graph,
1.44 - typename _Item,
1.45 - typename _Map
1.46 - = typename ItemSetTraits<_Graph, _Item>::template Map<int>::Parent
1.47 + typename _Graph, typename _Item, typename _Map
1.48 + = typename ItemSetTraits<_Graph, _Item>::template Map<int>::Parent
1.49 >
1.50 +#else
1.51 + template <typename _Graph, typename _Item>
1.52 +#endif
1.53 class DescriptorMap : protected _Map {
1.54
1.55 typedef _Item Item;