Removes an element or a range of elements in a list from specified positions.錛堜粠鎸囧畾鐨勪綅緗紝縐婚櫎list涓竴涓厓绱狅紝鎴栬呮槸縐婚櫎涓鍧楀尯鍩熺殑鍏冪礌錛?/p>
Removes an element or a range of elements in a list from specified positions.錛堜粠鎸囧畾鐨勪綅緗紝縐婚櫎list涓竴涓厓绱狅紝鎴栬呮槸縐婚櫎涓鍧楀尯鍩熺殑鍏冪礌錛?/p>
Return Value錛?br> 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.
鎴戠殑鐞嗚В鏄細涓涓弻鍚戠殑榪唬鍣ㄦ寚鍚戠Щ闄ゅ厓绱犳垨鍏冪礌鍧楃殑 涓嬩竴涓瓨鍦ㄥ湪鍏冪礌銆俹r 褰撳湪璇ist 涓病鏈夋壘鍒拌鍒犻櫎鐨勫厓绱狅紝閭d箞灝嗘寚鍚?end.
濡傛灉鎴戞兂鍦ㄤ竴涓猯ist涓繚瀛?1---10錛岀劧鍚庢煡鎵懼茍涓?鍒犻櫎5 鐨勪唬鐮?搴旇鏄?br>