lemon/bits/base_extender.h
changeset 2547 f393a8162688
parent 2391 14a343be7a5a
child 2553 bfced05fa852
equal deleted inserted replaced
8:3e3c6167e833 9:649e2e6b5303
   307 		     typename Parent::NodeSetError());
   307 		     typename Parent::NodeSetError());
   308         Node::operator=(node);
   308         Node::operator=(node);
   309         return *this;
   309         return *this;
   310       }
   310       }
   311       ANode(Invalid) : Node(INVALID) {}
   311       ANode(Invalid) : Node(INVALID) {}
       
   312       ANode& operator=(Invalid) {
       
   313         Node::operator=(INVALID);
       
   314         return *this;
       
   315       }
   312     };
   316     };
   313 
   317 
   314     void first(ANode& node) const {
   318     void first(ANode& node) const {
   315       Parent::firstANode(static_cast<Node&>(node));
   319       Parent::firstANode(static_cast<Node&>(node));
   316     }
   320     }
   335 		     typename Parent::NodeSetError());
   339 		     typename Parent::NodeSetError());
   336         Node::operator=(node);
   340         Node::operator=(node);
   337         return *this;
   341         return *this;
   338       }
   342       }
   339       BNode(Invalid) : Node(INVALID) {}
   343       BNode(Invalid) : Node(INVALID) {}
       
   344       BNode& operator=(Invalid) {
       
   345         Node::operator=(INVALID);
       
   346         return *this;
       
   347       }
   340     };
   348     };
   341 
   349 
   342     void first(BNode& node) const {
   350     void first(BNode& node) const {
   343       Parent::firstBNode(static_cast<Node&>(node));
   351       Parent::firstBNode(static_cast<Node&>(node));
   344     }
   352     }