不積跬步無(wú)以至千里,不積小流無(wú)以成江海 不要讓猶豫占太多時(shí)間
Removes an element or a range of elements in a list from specified positions.(從指定的位置,移除list中一個(gè)元素,或者是移除一塊區(qū)域的元素)
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. 我的理解是:一個(gè)雙向的迭代器指向移除元素或元素塊的 下一個(gè)存在在元素。or 當(dāng)在該list 中沒(méi)有找到要?jiǎng)h除的元素,那么將指向 end.如果我想在一個(gè)list中保存 1---10,然后查找并且 刪除5 的代碼 應(yīng)該是
Copyright Copyright MiweiDev