src/hugo/smart_graph.h
changeset 579 859f8c7e2a40
parent 542 69bde1d90c04
child 590 5c1465127b79
equal deleted inserted replaced
1:67f3f0fd7c24 2:fab3528026ae
   218       friend class SmartGraph;
   218       friend class SmartGraph;
   219     public:
   219     public:
   220       NodeIt() : Node() { }
   220       NodeIt() : Node() { }
   221       NodeIt(Invalid i) : Node(i) { }
   221       NodeIt(Invalid i) : Node(i) { }
   222       NodeIt(const SmartGraph& G) : Node(G.nodes.size()?0:-1) { }
   222       NodeIt(const SmartGraph& G) : Node(G.nodes.size()?0:-1) { }
       
   223       ///\todo Undocumented conversion Node -\> NodeIt.
       
   224       NodeIt(const SmartGraph& G, const Node &n) : Node(n) { }
   223     };
   225     };
   224 
   226 
   225     class Edge {
   227     class Edge {
   226       friend class SmartGraph;
   228       friend class SmartGraph;
   227       template <typename T> friend class EdgeMap;
   229       template <typename T> friend class EdgeMap;