Template:cpp/container/remove

Removes all elements satisfying specific criteria. @1@ Removes all elements that are equal to. @2@ Removes all elements for which predicate returns.

Complexity
Linear in the size of the container