COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/concepts/graph.h

    r627 r704  
    311311      /// The directed arc type. It can be converted to the
    312312      /// edge or it should be inherited from the undirected
    313       /// arc.
    314       class Arc : public Edge {
     313      /// edge.
     314      class Arc {
    315315      public:
    316316        /// Default constructor
     
    323323        /// Copy constructor.
    324324        ///
    325         Arc(const Arc& e) : Edge(e) { }
     325        Arc(const Arc&) { }
    326326        /// Initialize the iterator to be invalid.
    327327
     
    350350        bool operator<(Arc) const { return false; }
    351351
     352        /// Converison to Edge
     353        operator Edge() const { return Edge(); }
    352354      };
    353355      /// This iterator goes through each directed arc.
Note: See TracChangeset for help on using the changeset viewer.