lemon/bits/default_map.h
changeset 2040 c7bd55c0d820
parent 1999 2ff283124dfc
child 2046 66d160810c0a
equal deleted inserted replaced
17:c74d0a46c1c9 18:c24a10b4e73b
   161 
   161 
   162     DefaultMap(const Graph& graph) : Parent(graph) {}
   162     DefaultMap(const Graph& graph) : Parent(graph) {}
   163     DefaultMap(const Graph& graph, const Value& value) 
   163     DefaultMap(const Graph& graph, const Value& value) 
   164       : Parent(graph, value) {}
   164       : Parent(graph, value) {}
   165 
   165 
       
   166     DefaultMap& operator=(const DefaultMap& cmap) {
       
   167       return operator=<DefaultMap>(cmap);
       
   168     }
       
   169 
       
   170     template <typename CMap>
       
   171     DefaultMap& operator=(const CMap& cmap) {
       
   172       Parent::operator=(cmap);
       
   173       return *this;
       
   174     }
       
   175 
   166   };
   176   };
   167 
   177 
   168 }
   178 }
   169 
   179 
   170 #endif
   180 #endif