c++ - Passing an iterator to another function -


I was wondering what would be the best way to accomplish something like that ...

 < Code> // shuffle through a list if (afu) {remove fence (this); } Zero Exit (std :: list : iterator) {it = listName.erase (this); ... // Other items related to cleaner deleted cleaner}  

I do not think the price will work here near. Obviously what I want to do I call the baller to stay in the right iterator position. What is the best option passed by reference?

Iterators usually pass by value. I get RemoveBar () back to the new Iterator.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -