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
Post a Comment