equal
deleted
inserted
replaced
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 |