erase的返回值:
A random access iterator pointing to the new location of the element that followed the last element erased by the function call, which is the vector end if the operation erased the last e……
[/Quote]谢谢,很受启发。虽然暂时看着很费劲~
erase的返回值:
A random access iterator pointing to the new location of the element that followed the last element erased by the function call, which is the vector end if the operation erased the last element in the sequence.