24.8.remove | ||||
24.8.1. | Use the generic remove algorithm | |||
24.8.2. | Use std::remove to delete all element in a vector by value | |||
24.8.3. | Remove an element and then erase that element | |||
24.8.4. | Combine remove and erase together | |||
24.8.5. | Use remove() to delete elements from a vector | |||
24.8.6. | std::remove does not change the size of the container,it moves elements forward to fill gaps created and returns the new 'end' position. | |||
24.8.7. | Remove value from a vector with remove() |