Remove elements of Range for which P is true.
Declared in <llvm/ADT/STLExtras.h>
template<
typename R,
typename UnaryPredicate>
auto
remove_if(
R&& Range,
UnaryPredicate P);
Iterator past the last element not removed.
| Name | Description |
|---|---|
| Range | Range to compact. |
| P | Unary predicate selecting elements to remove. |