for(int i = validValue.size()-1;i>=0;i--)
if(_indexMissedMask[i])
validValue.removeAt(i); // or equivalent
To copy to clipboard, switch view to plain text mode
How always you've found the simplest solution (that always was there)....
But wanting use that way above, just only to learn to use algorithm generics....how could I do?
Furthermore: isn't "remove_if" above faster than your suggestion?
thanks,
Bookmarks