lemon/bits/graph_extender.h
changeset 2056 8acf212a5ed4
parent 2031 080d51024ac5
child 2076 10681ee9d8ae
equal deleted inserted replaced
14:8f87cd32dda5 15:890bd0acf611
   221       : public MapExtender<DefaultMap<Graph, Node, _Value> > {
   221       : public MapExtender<DefaultMap<Graph, Node, _Value> > {
   222     public:
   222     public:
   223       typedef GraphExtender Graph;
   223       typedef GraphExtender Graph;
   224       typedef MapExtender<DefaultMap<Graph, Node, _Value> > Parent;
   224       typedef MapExtender<DefaultMap<Graph, Node, _Value> > Parent;
   225 
   225 
   226       NodeMap(const Graph& graph) 
   226       explicit NodeMap(const Graph& graph) 
   227 	: Parent(graph) {}
   227 	: Parent(graph) {}
   228       NodeMap(const Graph& graph, const _Value& value) 
   228       NodeMap(const Graph& graph, const _Value& value) 
   229 	: Parent(graph, value) {}
   229 	: Parent(graph, value) {}
   230 
   230 
   231       NodeMap& operator=(const NodeMap& cmap) {
   231       NodeMap& operator=(const NodeMap& cmap) {
   245       : public MapExtender<DefaultMap<Graph, Edge, _Value> > {
   245       : public MapExtender<DefaultMap<Graph, Edge, _Value> > {
   246     public:
   246     public:
   247       typedef GraphExtender Graph;
   247       typedef GraphExtender Graph;
   248       typedef MapExtender<DefaultMap<Graph, Edge, _Value> > Parent;
   248       typedef MapExtender<DefaultMap<Graph, Edge, _Value> > Parent;
   249 
   249 
   250       EdgeMap(const Graph& graph) 
   250       explicit EdgeMap(const Graph& graph) 
   251 	: Parent(graph) {}
   251 	: Parent(graph) {}
   252       EdgeMap(const Graph& graph, const _Value& value) 
   252       EdgeMap(const Graph& graph, const _Value& value) 
   253 	: Parent(graph, value) {}
   253 	: Parent(graph, value) {}
   254 
   254 
   255       EdgeMap& operator=(const EdgeMap& cmap) {
   255       EdgeMap& operator=(const EdgeMap& cmap) {