TLruCache::FilterByPredicate

Filter the entries in the cache using a predicate.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/LruCache.h

Include

#include "Containers/LruCache.h"

Syntax

template<typename Predicate>
TArray< ValueType > FilterByPredicate
(
    Predicate Pred
) const

Remarks

Filter the entries in the cache using a predicate.

Returns

Collection of values for which the predicate returned true.

Parameters

Parameter

Description

Pred

The predicate functor to apply to each entry.

See Also