cost 193 ms
Iterators invalidation

Hi I read in C++ primer that adding elements to a vector invalidates the iterators. I don't understand why deleting elements doesn't invalidate them a ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM