erase函数要么删作指定位置loc的元素,要么删除区间[start, end)的所有元素. 返回值是指向删除的最后一个元素的下一位置的迭代器 Parameters All parameters are of member type iterator, which in vector containers are defined as a random access iterator type. position Iterator pointing to a single element to…