怎么知道stl的list遍历到最后一个元素?怎么知道stl的list遍历到最后一个元素?[解决办法]
if (iter == ilst.end()-1)[解决办法]
iter1 = iter2 = list.begin();if (++iter2 != list.end()) ++ iter1;