0

I googled a lot about erasing an element based on some condition while iterating from reverse. std::reverse_iterator is good way to re-iterate but it doesn't offer a clean fool proof method to delete an element from what I found by reading. Any good approach perhaps by using std::reverse_iterator?

Shreevardhan
  • 12,233
  • 3
  • 36
  • 50
bdubey
  • 307
  • 4
  • 13

0 Answers0