c++ Programming Glossary: rev_iter
How do I erase a reverse_iterator from an stl data structure? http://stackoverflow.com/questions/404258/how-do-i-erase-a-reverse-iterator-from-an-stl-data-structure 2 setOfInts.insert 3 std set int reverse_iterator rev_iter setOfInts.rbegin std set int reverse_iterator nextRevIter setOfInts.rbegin.. nextRevIter setOfInts.rbegin nextIter while rev_iter setOfInts.rend Find 3 and try to erase if rev_iter 3 SEGFAULT.. while rev_iter setOfInts.rend Find 3 and try to erase if rev_iter 3 SEGFAULT HERE setOfInts.erase rev_iter.base rev_iter nextRevIter..
|