不積跬步無以至千里,不積小流無以成江海 不要讓猶豫占太多時間
Removes an element or a range of elements in a list from specified positions.(從指定的位置,移除list中一個元素,或者是移除一塊區域的元素)
Return Value: A bidirectional iterator that designates the first element remaining beyond any elements removed, or a pointer to the end of the list if no such element exists. 我的理解是:一個雙向的迭代器指向移除元素或元素塊的 下一個存在在元素。or 當在該list 中沒有找到要刪除的元素,那么將指向 end.如果我想在一個list中保存 1---10,然后查找并且 刪除5 的代碼 應該是
Copyright Copyright MiweiDev