lemon/bits/vector_map.h
changeset 290 f6899946c1ac
parent 263 be8a861d3bb7
child 314 2cc60866a0c9
equal deleted inserted replaced
5:85104c211b82 6:5b3268f64b3a
    40   ///
    40   ///
    41   /// The VectorMap template class is graph map structure what
    41   /// The VectorMap template class is graph map structure what
    42   /// automatically updates the map when a key is added to or erased from
    42   /// automatically updates the map when a key is added to or erased from
    43   /// the map. This map type uses the std::vector to store the values.
    43   /// the map. This map type uses the std::vector to store the values.
    44   ///
    44   ///
    45   /// \tparam _Notifier The AlterationNotifier that will notify this map.
    45   /// \tparam _Graph The graph this map is attached to.
    46   /// \tparam _Item The item type of the graph items.
    46   /// \tparam _Item The item type of the graph items.
    47   /// \tparam _Value The value type of the map.
    47   /// \tparam _Value The value type of the map.
    48   /// \todo Fix the doc: there is _Graph parameter instead of _Notifier.
       
    49   template <typename _Graph, typename _Item, typename _Value>
    48   template <typename _Graph, typename _Item, typename _Value>
    50   class VectorMap
    49   class VectorMap
    51     : public ItemSetTraits<_Graph, _Item>::ItemNotifier::ObserverBase {
    50     : public ItemSetTraits<_Graph, _Item>::ItemNotifier::ObserverBase {
    52   private:
    51   private:
    53 
    52