Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AssocContainer<int> origin
- AssocContainer<int> goodValues;
- remove_copy_if( origin.begin(), origin.end(), inserter(goodValues.begin(), goodValues.end()), badValue);
- origin.swap(goodValues);
Add Comment
Please, Sign In to add comment