Such as if I need remove all actor items if it is not valid, so code is like this?
array.RemoveAll([](const AActor* item){return !IsValid(item);} )
or like this?
array.RemoveAll([](const AActor* item){return IsValid(item);} )
true = remove
Such as if I need remove all actor items if it is not valid, so code is like this?
array.RemoveAll([](const AActor* item){return !IsValid(item);} )
or like this?
array.RemoveAll([](const AActor* item){return IsValid(item);} )
true = remove