lemon/bits/edge_set_extender.h
changeset 841 aa8c9008b3de
parent 617 4137ef9aacc6
child 877 141f9c0db4a3
child 962 4efe7b32b134
equal deleted inserted replaced
3:dbd790b96225 4:835f04db8f01
   535     class ArcMap 
   535     class ArcMap 
   536       : public MapExtender<DefaultMap<Graph, Arc, _Value> > {
   536       : public MapExtender<DefaultMap<Graph, Arc, _Value> > {
   537       typedef MapExtender<DefaultMap<Graph, Arc, _Value> > Parent;
   537       typedef MapExtender<DefaultMap<Graph, Arc, _Value> > Parent;
   538 
   538 
   539     public:
   539     public:
   540       ArcMap(const Graph& _g) 
   540       explicit ArcMap(const Graph& _g) 
   541 	: Parent(_g) {}
   541 	: Parent(_g) {}
   542       ArcMap(const Graph& _g, const _Value& _v) 
   542       ArcMap(const Graph& _g, const _Value& _v) 
   543 	: Parent(_g, _v) {}
   543 	: Parent(_g, _v) {}
   544 
   544 
   545       ArcMap& operator=(const ArcMap& cmap) {
   545       ArcMap& operator=(const ArcMap& cmap) {
   559     class EdgeMap 
   559     class EdgeMap 
   560       : public MapExtender<DefaultMap<Graph, Edge, _Value> > {
   560       : public MapExtender<DefaultMap<Graph, Edge, _Value> > {
   561       typedef MapExtender<DefaultMap<Graph, Edge, _Value> > Parent;
   561       typedef MapExtender<DefaultMap<Graph, Edge, _Value> > Parent;
   562 
   562 
   563     public:
   563     public:
   564       EdgeMap(const Graph& _g) 
   564       explicit EdgeMap(const Graph& _g) 
   565 	: Parent(_g) {}
   565 	: Parent(_g) {}
   566 
   566 
   567       EdgeMap(const Graph& _g, const _Value& _v) 
   567       EdgeMap(const Graph& _g, const _Value& _v) 
   568 	: Parent(_g, _v) {}
   568 	: Parent(_g, _v) {}
   569 
   569