Quote Originally Posted by wysota View Post
Qt Code:
  1. for(int i = validValue.size()-1;i>=0;i--)
  2. if(_indexMissedMask[i])
  3. 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,