Navigation
API > API/Runtime > API/Runtime/uLangCore > API/Runtime/uLangCore/TSPtrArrayG
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/Solaris/uLangCore/Public/uLang/Common/Containers/SharedPointerArray.h |
| Include Path | #include "uLang/Common/Containers/SharedPointerArray.h" |
template<typename Predicate>
int32_t RemoveAll
(
const Predicate & Pred
)
Number of removed elements.
Parameters
| Name | Remarks |
|---|---|
| Pred | Predicate, taking const pointer to array element |
See Also
-
Insert
-
RemoveAllSwap
-
RemoveSingle
-
RemoveSwap