這是從STL說明擷取下來的Remark
list::erase
No reallocation occurs, so iterators and references become invalid
only for the erased elements. erase never throws an exception.
list::insert
Any insertion operation can be expensive.
所以??!!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.162.103.24