24.4.4 Removal and Replacement Algorithms
- remove_copy
- remove_copy takes a specific value, copies resulting
sequence to another container
- Returns an iterator to denote end of new sequence
(colored in example)
- Given:
| a |
1 |
2 |
3 |
2 |
4 |
2 |
5 |
6 |
| b |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
prev
|top
|next