[#llvm-remove_if] = xref:llvm.adoc[llvm]::remove_if :relfileprefix: ../ :mrdocs: Remove elements of `Range` for which `P` is true. == Synopsis Declared in `<llvm/ADT/STLExtras.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename R, typename UnaryPredicate> auto remove_if( R&& Range, UnaryPredicate P); ---- == Return Value Iterator past the last element not removed. == Parameters [cols="1,4"] |=== | Name| Description | *Range* | Range to compact. | *P* | Unary predicate selecting elements to remove. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#