remove « STL Algorithms Modifying sequence operations « C++






1.Use the generic remove algorithm
2.Use std::remove to delete all element in a vector by value
3.Remove an element and then erase that element
4.Combine remove and erase together
5.Remove all instances of '0'
6.Remove copy Elements if They Meet a Criterion
7.remove empty string