Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Description
Remove all instances that match the predicate, maintaining order but not indices Optimized to work with runs of matches/non-matches
| Name | RemoveAll |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
template<class PREDICATE_CLASS>
SizeType RemoveAll
(
const PREDICATE_CLASS & Predicate
)
Number of removed elements.
Parameters
| Name | Remarks |
|---|---|
| Predicate | Predicate class instance |
See Also
-
Add
-
Insert
-
RemoveAllSwap
-
RemoveSingle
-
RemoveSwap