lemon/bits/alteration_notifier.h
changeset 1708 8fea0e60f855
parent 1685 5b37a10234bc
child 1718 6a958ab38386
equal deleted inserted replaced
2:26b06e03e6c6 3:4a1feb055ad0
   160 	
   160 	
   161       virtual void erase(const Item&) = 0;
   161       virtual void erase(const Item&) = 0;
   162 
   162 
   163       virtual void erase(const std::vector<Item>& items) {
   163       virtual void erase(const std::vector<Item>& items) {
   164 	for (int i = 0; i < (int)items.size(); ++i) {
   164 	for (int i = 0; i < (int)items.size(); ++i) {
   165 	  add(items[i]);
   165 	  erase(items[i]);
   166 	}
   166 	}
   167       }
   167       }
   168 
   168 
   169       /// \brief The member function to notificate the observer about the
   169       /// \brief The member function to notificate the observer about the
   170       /// container is built.
   170       /// container is built.