lemon/bits/graph_extender.h
changeset 287 bb40b6db0a58
parent 220 a5d8c039f218
child 314 2cc60866a0c9
equal deleted inserted replaced
6:dd40ac0c5766 7:0d355d265e30
   225       explicit NodeMap(const Digraph& digraph)
   225       explicit NodeMap(const Digraph& digraph)
   226         : Parent(digraph) {}
   226         : Parent(digraph) {}
   227       NodeMap(const Digraph& digraph, const _Value& value)
   227       NodeMap(const Digraph& digraph, const _Value& value)
   228         : Parent(digraph, value) {}
   228         : Parent(digraph, value) {}
   229 
   229 
       
   230     private:
   230       NodeMap& operator=(const NodeMap& cmap) {
   231       NodeMap& operator=(const NodeMap& cmap) {
   231         return operator=<NodeMap>(cmap);
   232         return operator=<NodeMap>(cmap);
   232       }
   233       }
   233 
   234 
   234       template <typename CMap>
   235       template <typename CMap>
   249       explicit ArcMap(const Digraph& digraph)
   250       explicit ArcMap(const Digraph& digraph)
   250         : Parent(digraph) {}
   251         : Parent(digraph) {}
   251       ArcMap(const Digraph& digraph, const _Value& value)
   252       ArcMap(const Digraph& digraph, const _Value& value)
   252         : Parent(digraph, value) {}
   253         : Parent(digraph, value) {}
   253 
   254 
       
   255     private:
   254       ArcMap& operator=(const ArcMap& cmap) {
   256       ArcMap& operator=(const ArcMap& cmap) {
   255         return operator=<ArcMap>(cmap);
   257         return operator=<ArcMap>(cmap);
   256       }
   258       }
   257 
   259 
   258       template <typename CMap>
   260       template <typename CMap>
   606       NodeMap(const Graph& graph)
   608       NodeMap(const Graph& graph)
   607         : Parent(graph) {}
   609         : Parent(graph) {}
   608       NodeMap(const Graph& graph, const _Value& value)
   610       NodeMap(const Graph& graph, const _Value& value)
   609         : Parent(graph, value) {}
   611         : Parent(graph, value) {}
   610 
   612 
       
   613     private:
   611       NodeMap& operator=(const NodeMap& cmap) {
   614       NodeMap& operator=(const NodeMap& cmap) {
   612         return operator=<NodeMap>(cmap);
   615         return operator=<NodeMap>(cmap);
   613       }
   616       }
   614 
   617 
   615       template <typename CMap>
   618       template <typename CMap>
   630       ArcMap(const Graph& graph)
   633       ArcMap(const Graph& graph)
   631         : Parent(graph) {}
   634         : Parent(graph) {}
   632       ArcMap(const Graph& graph, const _Value& value)
   635       ArcMap(const Graph& graph, const _Value& value)
   633         : Parent(graph, value) {}
   636         : Parent(graph, value) {}
   634 
   637 
       
   638     private:
   635       ArcMap& operator=(const ArcMap& cmap) {
   639       ArcMap& operator=(const ArcMap& cmap) {
   636         return operator=<ArcMap>(cmap);
   640         return operator=<ArcMap>(cmap);
   637       }
   641       }
   638 
   642 
   639       template <typename CMap>
   643       template <typename CMap>
   655         : Parent(graph) {}
   659         : Parent(graph) {}
   656 
   660 
   657       EdgeMap(const Graph& graph, const _Value& value)
   661       EdgeMap(const Graph& graph, const _Value& value)
   658         : Parent(graph, value) {}
   662         : Parent(graph, value) {}
   659 
   663 
       
   664     private:
   660       EdgeMap& operator=(const EdgeMap& cmap) {
   665       EdgeMap& operator=(const EdgeMap& cmap) {
   661         return operator=<EdgeMap>(cmap);
   666         return operator=<EdgeMap>(cmap);
   662       }
   667       }
   663 
   668 
   664       template <typename CMap>
   669       template <typename CMap>