[Lemon-commits] [lemon_svn] alpar: r533 - hugo/trunk/src/include

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:40:02 CET 2006


Author: alpar
Date: Mon Apr 26 00:28:19 2004
New Revision: 533

Modified:
   hugo/trunk/src/include/smart_graph.h

Log:
A missing conversion added


Modified: hugo/trunk/src/include/smart_graph.h
==============================================================================
--- hugo/trunk/src/include/smart_graph.h	(original)
+++ hugo/trunk/src/include/smart_graph.h	Mon Apr 26 00:28:19 2004
@@ -23,6 +23,8 @@
   ///It conforms to the graph interface documented under
   ///the description of \ref GraphSkeleton.
   ///\sa \ref GraphSkeleton.
+  ///
+  ///\todo Some member functions could be \c static.
   class SmartGraph {
 
     struct NodeT 
@@ -200,8 +202,9 @@
     class NodeIt : public Node {
       friend class SmartGraph;
     public:
-      NodeIt(const SmartGraph& G) : Node(G.nodes.size()?0:-1) { }
       NodeIt() : Node() { }
+      NodeIt(Invalid i) : Node(i) { }
+      NodeIt(const SmartGraph& G) : Node(G.nodes.size()?0:-1) { }
     };
 
     class Edge {



More information about the Lemon-commits mailing list