Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TLruCache
Description
Find the value of an entry using a predicate.
| Name | FindByPredicate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/LruCache.h |
| Include Path | #include "Containers/LruCache.h" |
template<typename Predicate>
const ValueType * FindByPredicate
(
Predicate Pred
) const
Pointer to value for which the predicate returned true, or nullptr if not found.
Parameters
| Name | Remarks |
|---|---|
| Pred | The predicate functor to apply to each entry. |
See Also
-
RemoveByPredicate