std::list<int>::iterator intIter = --intRIter.base(); //用(++intRIter).base()也可 intIter = intList.erase(intIter); intRIter = intList::reverse_iterator(intIter); intRIter = intList::reverse_iterator(intList.erase(--intRIter.base()));
std::list<int>::iterator intIter = --intRIter.base(); //用(++intRIter).base()也可 intIter = intList.erase(intIter); intRIter = intList::reverse_iterator(intIter); intRIter = intList::reverse_iterator(intList.erase(--intRIter.base()));