Hello,
this below doens't work but it gives the idea (hope) of my problem:
Qt Code:
  1. class Feature {
  2. public:
  3.  
  4. bool isNotValid(int i) {
  5. return this->_indexMissedMask[i];
  6. }
  7. void compute() {
  8. vector<double>::iterator iter = remove_if(validValue.begin(),
  9. validValue.end(), &Feature::isNotValid );
  10.  
  11. }
To copy to clipboard, switch view to plain text mode 
_indexMissedMask is a vector of bool like this: false, false, true, false........
I have to remove from validValue all elements at the position with _indexMissedMask is "true".
Any hints, please?