Re: vector.erase(iterator iter) will change "iter" or not?
> (And the higher-level answer to his question is that he should probably
> be using std::remove anyway:
>
> s.erase(remove(s.begin(), s.end(), 3), s.end());
>
What's this?
will "s.erase()" get all the elements after "3" removed?
|