Guest User

Untitled

a guest
Jan 16th, 2018
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. AssocContainer<int> origin
  2. AssocContainer<int> goodValues;
  3.  
  4. remove_copy_if( origin.begin(), origin.end(), inserter(goodValues.begin(), goodValues.end()), badValue);
  5.  
  6. origin.swap(goodValues);
Add Comment
Please, Sign In to add comment