COIN-OR::LEMON - Graph Library

Changes in / [659:88753a77c634:658:ebdcc68fe79e] in lemon-main


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/concepts/graph.h

    r657 r580  
    311311      /// The directed arc type. It can be converted to the
    312312      /// edge or it should be inherited from the undirected
    313       /// edge.
    314       class Arc {
     313      /// arc.
     314      class Arc : public Edge {
    315315      public:
    316316        /// Default constructor
     
    323323        /// Copy constructor.
    324324        ///
    325         Arc(const Arc&) { }
     325        Arc(const Arc& e) : Edge(e) { }
    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(); }
    354352      };
    355353      /// This iterator goes through each directed arc.
Note: See TracChangeset for help on using the changeset viewer.